-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (49 loc) · 1.61 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
from setuptools import setup, find_packages
def read_files(files):
data = []
for file in files:
with open(file, encoding='utf-8') as f:
data.append(f.read())
return "\n".join(data)
long_description = read_files(['README.md', 'CHANGELOG.md'])
requirements = []
with open('requirements.txt') as f:
requirements = f.readlines()
meta = {}
with open('./stdocker/version.py', encoding='utf-8') as f:
exec(f.read(), meta)
setup(
name='stdocker',
version=meta['__version__'],
author='Jason Sun',
author_email='[email protected]',
url='https://github.com/winds1983/stdocker',
description='Shinetech Docker CLI.',
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT',
packages=find_packages(),
python_requires=">=3.8",
extras_require={
'cli': ['click>=5.0', ],
},
entry_points={
'console_scripts': [
'stdocker=stdocker.cli:main'
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: PyPy',
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
keywords=['python package', 'stdocker', 'shinetech', 'docker', 'development environment'],
install_requires=requirements,
zip_safe=False
)