forked from DataDog/dd-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_tk.py
74 lines (62 loc) · 1.98 KB
/
setup_tk.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
66
67
68
69
70
71
72
73
74
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
from config import get_version
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='datadog_agent_tk',
# Version should always match one from an agent release
version=get_version(),
description='The Datadog Agent Toolkit',
long_description=long_description,
keywords='datadog agent check toolkit',
# The project's main homepage.
url='https://github.com/DataDog/dd-agent',
# Author details
author='Datadog',
author_email='[email protected]',
# License
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: System :: Monitoring',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
# Include all we need from the agent to run tests and
# execute checks in a dedicated virtualenv.
packages=find_packages(exclude=[
"tests.checks.fixtures*",
"tests.checks.mock*",
"tests.core*",
"dogstream",
"venv",
"win32",
]),
# These are plain python modules, not packages, we need
# to list them manually to include in the wheel.
py_modules=[
"config",
"util",
"tests.checks.common",
"aggregator"
],
# This is more than we would need but this is a POC, so...
install_requires=[
'requests==2.11.1',
'pyyaml==3.11',
'simplejson==3.6.5',
'docker-py==1.10.6',
'python-etcd==0.4.5',
'python-consul==0.4.7',
'kazoo==2.2.1',
],
)