Total Complexity | 0 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | import os |
||
2 | from setuptools import setup, find_packages |
||
3 | PACKAGES = find_packages() |
||
4 | |||
5 | # Get version and release info, which is all stored in shablona/version.py |
||
6 | ver_file = os.path.join('battdeg', 'version.py') |
||
7 | with open(ver_file) as f: |
||
8 | exec(f.read()) |
||
9 | |||
10 | opts = dict(name=NAME, |
||
|
|||
11 | maintainer=MAINTAINER, |
||
12 | maintainer_email=MAINTAINER_EMAIL, |
||
13 | description=DESCRIPTION, |
||
14 | long_description=LONG_DESCRIPTION, |
||
15 | url=URL, |
||
16 | download_url=DOWNLOAD_URL, |
||
17 | license=LICENSE, |
||
18 | classifiers=CLASSIFIERS, |
||
19 | author=AUTHOR, |
||
20 | author_email=AUTHOR_EMAIL, |
||
21 | platforms=PLATFORMS, |
||
22 | version=VERSION, |
||
23 | packages=PACKAGES, |
||
24 | package_data=PACKAGE_DATA, |
||
25 | install_requires=REQUIRES, |
||
26 | requires=REQUIRES) |
||
27 | |||
28 | |||
29 | if __name__ == '__main__': |
||
30 | setup(**opts) |
||
31 |