-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
75 lines (71 loc) · 2.06 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
import setuptools
def _get_long_description():
with open('README.rst') as readme_file:
return readme_file.read()
setuptools.setup(
name='aetcd',
use_scm_version=True,
description='Python asyncio-based client for etcd',
long_description=_get_long_description(),
long_description_content_type='text/x-rst',
author='Andrey Martyanov',
author_email='andrey@martyanov.com',
url='https://github.com/martyanov/aetcd',
packages=[
'aetcd',
'aetcd.rpc',
],
package_dir={
'aetcd': 'aetcd',
'aetcd.rpc': 'aetcd/rpc',
},
include_package_data=True,
license='Apache Software License 2.0',
zip_safe=False,
keywords='etcd3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
project_urls={
'Documentation': 'https://aetcd.readthedocs.io',
'Code': 'https://github.com/martyanov/aetcd',
'Issues': 'https://github.com/martyanov/aetcd/issues',
},
python_requires='>=3.8,<4.0',
setup_requires=[
'setuptools_scm==6.3.2',
],
install_requires=[
'grpcio>1.51,<2',
'protobuf>4,<5',
],
extras_require={
'dev': [
'flake8-commas==2.1.0',
'flake8-docstrings==1.7.0',
'flake8-isort==6.0.0',
'flake8-quotes==3.3.2',
'flake8==6.0.0',
'grpcio-tools==1.51.1',
'pep8-naming==0.13.3',
'twine==4.0.2',
],
'doc': [
'sphinx==6.1.3',
'sphinx_rtd_theme==1.2.0',
],
'test': [
'pytest-asyncio==0.20.3',
'pytest-cov==4.0.0',
'pytest-mock==3.10.0',
'pytest==7.2.1',
],
},
)