-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (51 loc) · 1.39 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
60
61
from os.path import dirname, join
from setuptools import find_packages, setup
KEYWORDS = []
CLASSIFIERS = [
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Utilities',
]
INSTALL_REQUIRES = [
'click==7.*',
'colorama==0.4.*',
'docker==3.*',
'pyinstaller==3.*',
]
PROJECT_DIR = dirname(__file__)
README_FILE = join(PROJECT_DIR, 'README.md')
ABOUT_FILE = join(PROJECT_DIR, 'src', 'zdd', '__about__.py')
def get_readme():
with open(README_FILE) as fileobj:
return fileobj.read()
def get_about():
about = {}
with open(ABOUT_FILE) as fileobj:
exec(fileobj.read(), about)
return about
ABOUT = get_about()
setup(
name=ABOUT['__title__'],
version=ABOUT['__version__'],
description=ABOUT['__summary__'],
long_description=get_readme(),
author=ABOUT['__author__'],
author_email=ABOUT['__email__'],
url=ABOUT['__uri__'],
keywords=KEYWORDS,
license=ABOUT['__license__'],
classifiers=CLASSIFIERS,
package_dir={'': 'src'},
packages=find_packages('src'),
entry_points={
'console_scripts': [
'zdd=zdd.__main__:main',
],
},
install_requires=INSTALL_REQUIRES,
python_requires='>=3.7',
zip_safe=False
)