-
Notifications
You must be signed in to change notification settings - Fork 188
/
setup.py
85 lines (74 loc) · 2.3 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
#!/usr/bin/env python
from pathlib import Path
from setuptools import setup, find_packages # noqa: H301
requires = [
'reactivex >= 4.0.4',
'certifi >= 14.05.14',
'python_dateutil >= 2.5.3',
'setuptools >= 21.0.0',
'urllib3 >= 1.26.0'
]
test_requires = [
'flake8>=5.0.3',
'coverage>=4.0.3',
'nose>=1.3.7',
'pluggy>=0.3.1',
'py>=1.4.31',
'randomize>=0.13',
'pytest>=5.0.0',
'pytest-cov>=3.0.0',
'pytest-timeout>=2.1.0',
'httpretty==1.0.5',
'psutil>=5.6.3',
'aioresponses>=0.7.3',
'sphinx==1.8.5',
'sphinx_rtd_theme',
'jinja2>=3.1.4'
]
extra_requires = [
'pandas>=1.0.0',
'numpy'
]
ciso_requires = [
'ciso8601>=2.1.1'
]
async_requires = [
'aiohttp>=3.8.1',
'aiocsv>=1.2.2'
]
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
NAME = "influxdb_client"
meta = {}
with open(Path(__file__).parent / 'influxdb_client' / 'version.py') as f:
exec('\n'.join(line for line in f if line.startswith('VERSION')), meta)
setup(
name=NAME,
version=meta['VERSION'],
description="InfluxDB 2.0 Python client library",
long_description=long_description,
url="https://github.com/influxdata/influxdb-client-python",
keywords=["InfluxDB", "InfluxDB Python Client"],
tests_require=test_requires,
install_requires=requires,
extras_require={'extra': extra_requires, 'ciso': ciso_requires, 'async': async_requires, 'test': test_requires},
long_description_content_type="text/markdown",
packages=find_packages(exclude=('tests*',)),
package_data={'influxdb_client': ['py.typed']},
test_suite='tests',
python_requires='>=3.7',
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'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 :: Database',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
])