-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
59 lines (55 loc) · 1.81 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
from pathlib import Path
from setuptools import setup, find_packages
here = Path(__file__).absolute().parent
readme = here / 'README.md'
version = here / 'VERSION'
SETUP = {
'name': "jujuna",
'description': 'Continuous deployment, upgrade and testing for Juju.',
'packages': find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
'version': version.read_text().strip(),
'author': "Matus Kosut",
'author_email': "[email protected]",
'maintainer': 'HUNT Data Center',
'maintainer_email': '[email protected]',
'url': "https://github.com/huntdatacenter/jujuna",
'long_description': readme.read_text().strip(),
'long_description_content_type': 'text/markdown',
'entry_points': {
'console_scripts': [
# Script invokation:
'jujuna = jujuna.__main__:main',
]
},
'license': 'Apache 2',
'classifiers': [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Environment :: Console"
],
'install_requires': [
'async-timeout>=2.0.1,<4.0.0',
'argcomplete>=1.10.0,<2.0.0',
'theblues>=0.5.2,<1.0'
],
'extras_require': {
":python_version>'3.5.2'": [
'juju==2.9.7',
'pyyaml>=5.1.2,<=6.0.0',
],
":python_version<='3.5.2'": [
'juju<1.0.0,>=0.11.7',
'pyyaml<=4.2,>=3.0',
]
}
}
if __name__ == '__main__':
setup(**SETUP)