-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (56 loc) · 1.73 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
62
63
64
65
"""Distutils build script for entityd."""
import setuptools
def get_version():
"""Retrieve the version number from version.txt."""
version = None
with open('version.txt') as version_file:
lines = version_file.readlines()
if len(lines) > 0:
version = lines[0]
else:
raise ValueError('Version number not found in version.txt')
return version
with open("README.rst") as fp:
LONG_DESCRIPTION = fp.read()
setuptools.setup(
name='entityd',
version=get_version(),
author='cobe.io',
author_email='[email protected]',
license='LGPLv3',
url='https://bitbucket.org/cobeio/act',
description='Entity monitoring agent for cobe.io',
long_description=LONG_DESCRIPTION,
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'entityd=entityd.__main__:main',
'entityd-health-check=entityd.health:check',
],
},
install_requires=[
'setuptools',
'Logbook',
'syskit',
'requests >=2.11.1',
'pyyaml',
'kube ==0.10.0',
'python-cobe',
'cobe-act',
'docker',
# TODO: Fix in python-cobe maybe?
'pyzmq >=14.7, <=15.2',
'msgpack-python >=0.4.5, <0.5',
'voluptuous >=0.8.7, <0.9',
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: '
'OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='topology performance availability monitoring',
)