-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (53 loc) · 2.11 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
# Unless explicitly stated otherwise all files in this repository are licensed under the BSD-3-Clause License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2015-Present Datadog, Inc.
from setuptools import setup
from io import open
import sys
def get_readme_md_contents():
"""read the contents of your README file"""
with open("README.md", encoding='utf-8') as f:
long_description = f.read()
return long_description
install_reqs = ["decorator>=3.3.2", "requests>=2.6.0"]
if [sys.version_info[0], sys.version_info[1]] < [2, 7]:
install_reqs.append("argparse>=1.2")
setup(
name="datadog",
version="0.35.0.dev",
install_requires=install_reqs,
tests_require=["pytest", "mock", "freezegun"],
packages=["datadog", "datadog.api", "datadog.dogstatsd", "datadog.threadstats", "datadog.util", "datadog.dogshell"],
author="Datadog, Inc.",
long_description=get_readme_md_contents(),
long_description_content_type="text/markdown",
author_email="[email protected]",
description="The Datadog Python library",
license="BSD",
keywords="datadog",
url="https://www.datadoghq.com",
project_urls={
"Bug Tracker": "https://github.com/DataDog/datadogpy/issues",
"Documentation": "https://datadogpy.readthedocs.io/en/latest/",
"Source Code": "https://github.com/DataDog/datadogpy",
},
entry_points={
"console_scripts": [
"dog = datadog.dogshell:main",
"dogwrap = datadog.dogshell.wrap:main",
"dogshell = datadog.dogshell:main",
"dogshellwrap = datadog.dogshell.wrap:main"
]
},
test_suite="tests",
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: PyPy",
],
)