This repository has been archived by the owner on Aug 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
65 lines (60 loc) · 1.77 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
#!/usr/bin/env python
import sys
from setuptools import setup
from pathlib import Path
with open('README.rst', 'r') as f:
long_description = f.read()
meta = {}
with open(Path(__file__).parent / 'aioinflux' / '__init__.py') as f:
exec('\n'.join(line for line in f if line.startswith('__')), meta)
test_requirements = [
'pytest',
'pytest-asyncio',
'pytest-cov',
'pyyaml',
'pytz',
'flake8',
'pep8-naming',
# 'flake8-docstrings',
'flake8-rst-docstrings',
'pygments',
]
if sys.version_info[:2] == (3, 6):
test_requirements.append('dataclasses')
setup(name='aioinflux',
version=meta['__version__'],
description='Asynchronous Python client for InfluxDB',
long_description=long_description,
author='Gustavo Bezerra',
author_email='[email protected]',
url='https://github.com/gusutabopb/aioinflux',
packages=[
'aioinflux',
'aioinflux.serialization',
],
include_package_data=True,
python_requires='>=3.6',
install_requires=['aiohttp>=3.0', 'ciso8601'],
extras_require={
'test': test_requirements,
'docs': [
'docutils',
'sphinx',
'sphinx_rtd_theme',
'sphinx-autodoc-typehints',
],
'pandas': [
'pandas>=0.21',
'numpy'
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Database',
])