-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
59 lines (45 loc) · 1.5 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
import codecs
import os
import re
from setuptools import setup
DIRNAME = os.path.dirname(__file__)
def rel(*parts):
return os.path.abspath(os.path.join(DIRNAME, *parts))
with codecs.open(rel('README.md'), encoding='utf-8') as handler:
DESCRIPTION = handler.read()
with open(rel('flax_id', '__init__.py')) as handler:
INIT_PY = handler.read()
VERSION = re.findall("__version__ = '([^']+)'", INIT_PY)[0]
setup(
name='python-flax-id',
version=VERSION,
description='Python implementation of Flax ID algorithm',
long_description=DESCRIPTION,
author='Ergeon Engineers',
author_email='[email protected]',
url='https://github.com/ergeon/python-flax-id',
include_package_data=True,
install_requires=[],
packages=[
'flax_id',
'flax_id/django'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
keywords='ergeon flax flax-id',
license='MIT License',
platforms='any',
)