-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
111 lines (103 loc) · 2.88 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
import setuptools
__version__ = "1.2.1"
with open("README.md", "r") as fh:
long_description = fh.read()
requires = [
"blessed<1.21",
"boto3<1.35",
"crate==0.35.2",
"prometheus-client<0.11",
"urllib3<3",
"datetime-truncate<2",
"psycopg2-binary<2.10",
"influxdb-client<2",
"pymongo<5",
"dnspython<3",
"numpy<1.27",
"pgcopy<1.7",
"pyodbc<6",
"tqdm<5",
"cloup<4",
]
develop_requires = [
"mypy<1.12",
"poethepoet<0.28",
"pyproject-fmt<2.2",
"ruff<0.5",
"sphinx-autobuild==2021.3.14", # Newer versions stopped "watching" appropriately?
"validate-pyproject<0.19",
]
docs_requires = [
"furo",
"myst-parser[linkify]>=0.18,<4",
"sphinx<8",
"sphinx-copybutton",
"sphinx-design-elements<1",
"sphinxcontrib-mermaid<1",
"sphinxext-opengraph<1",
]
release_requires = [
"build<2",
"twine<6",
]
test_requires = [
"dotmap<1.4",
"pytest<9",
"pytest-cov<6",
"ruff<0.5",
]
setuptools.setup(
name="tsperf",
version=__version__,
author="Crate.io",
author_email="[email protected]",
description="A tool to test performance of time-series databases",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/crate/tsperf",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"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",
"Topic :: Communications",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Software Development :: Libraries",
"Topic :: Text Processing",
"Topic :: Utilities",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
],
entry_points={
"console_scripts": [
"tsperf = tsperf.cli:main",
]
},
install_requires=requires,
extras_require={
"develop": develop_requires,
"docs": docs_requires,
"release": release_requires,
"test": test_requires,
},
python_requires=">=3.8",
include_package_data=True,
package_data={
"": ["*.md", "*.json"],
},
zip_safe=False,
)