-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
executable file
·44 lines (39 loc) · 1.37 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
#!/usr/bin/env python
# -*- coding:utf-8 -*-
from setuptools import setup, find_packages
from aiobreaker import version
with open("readme.rst", "r") as fh:
long_description = fh.read()
test_dependencies = ['fakeredis', 'pytest>4', 'pytest-asyncio',
'mypy', 'pylint', 'safety', 'bandit', 'codecov', 'pytest-cov']
redis_dependencies = ['redis']
documentation_dependencies = [
'sphinx', 'sphinx_rtd_theme', 'sphinx-autobuild', 'sphinx-autodoc-typehints']
setup(
name='aiobreaker',
version=version.__version__,
url='https://github.com/arlyon/aiobreaker',
license='BSD',
author='Alexander Lyon',
author_email='[email protected]',
description='Python implementation of the Circuit Breaker pattern.',
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
py_modules=['aiobreaker'],
python_requires='>=3.6',
install_requires=[],
tests_require=test_dependencies,
extras_require={
'test': test_dependencies,
'docs': documentation_dependencies,
'redis': redis_dependencies,
},
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
],
)