-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
56 lines (52 loc) · 1.83 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
from setuptools import find_packages
from setuptools import setup
with open("README.md", "r") as f:
long_description = f.read()
with open("test_deps.txt") as f:
testing_deps = [line.strip() for line in f.readlines()]
setup(
name="ddapm-test-agent",
description="Test agent for Datadog APM client libraries",
url="https://github.com/Datadog/dd-apm-test-agent",
author="Kyle Verhoog",
author_email="[email protected]",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD 3",
packages=find_packages(exclude=["tests*", "releasenotes", "scripts"]),
package_data={"ddapm_test_agent": ["py.typed"]},
python_requires=">=3.8",
install_requires=[
"aiohttp",
"ddsketch[serialization]",
"msgpack",
"requests",
"typing_extensions",
"yarl",
],
tests_require=testing_deps,
setup_requires=["setuptools_scm"],
use_scm_version=True,
entry_points={
"console_scripts": [
"ddapm-test-agent=ddapm_test_agent.agent:main",
"ddapm-test-agent-fmt=ddapm_test_agent.fmt:main",
"ddapm-test-agent-session-start=ddapm_test_agent.cmd:main_session_start",
"ddapm-test-agent-snapshot=ddapm_test_agent.cmd:main_snapshot",
]
},
extras_require={
"testing": testing_deps,
},
# Required for mypy compatibility, see
# https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages
zip_safe=False,
)