-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (48 loc) · 1.67 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
"""
Setup script for the conmon package.
"""
from setuptools import setup
from setuptools import find_packages
def version():
"""
version() -> str
Return the version string.
"""
with open("VERSION.txt") as v:
_version = v.read()
return _version.strip()
__version__ = version()
def long_description():
"""
long_descriptions -> str
Return the long description text.
"""
with open("README.rst") as r:
long_description_1 = r.read()
with open("HISTORY.rst") as h:
long_description_2 = h.read()
return "\n".join([long_description_1, long_description_2, ])
setup(name="conmon",
version=__version__,
packages=find_packages(),
author="Chris Calloway",
author_email="[email protected]",
description="A package for monitoring Docker containers.",
long_description=long_description(),
url="https://github.com/hydroshare/conmon",
download_url="https://github.com/hydroshare/conmon/tarball/" + __version__,
keywords="Docker container monitor",
classifiers=["Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: System :: Monitoring",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators", ],
zip_safe=False,
python_requires='>=3',
install_requires=["docker-py",
"pyyaml", ],
tests_require=["docker-py",
"pyyaml", ],
test_suite="conmon.tests")