Passed
Branch develop (2ccc44)
by Fabian
01:05
created

setup.readme()   A

Complexity

Conditions 2

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
"""
2
Python Circuit Breaker
3
"""
4
from setuptools import setup
5
6
7
def readme():
8
    with open('README.rst') as f:
9
        return f.read()
10
11
12
dependencies = ['typing']
13
14
setup(
15
    name='circuitbreaker',
16
    version='1.1.0',
17
    url='https://github.com/fabfuel/circuitbreaker',
18
    download_url='https://github.com/fabfuel/circuitbreaker/archive/1.1.0.tar.gz',
19
    license='BSD',
20
    author='Fabian Fuelling',
21
    author_email='[email protected]',
22
    description='Python Circuit Breaker pattern implementation',
23
    long_description=readme(),
24
    py_modules=['circuitbreaker'],
25
    include_package_data=True,
26
    zip_safe=False,
27
    platforms='any',
28
    install_requires=dependencies,
29
    classifiers=[
30
        'Intended Audience :: Developers',
31
        'License :: OSI Approved :: BSD License',
32
        'Operating System :: POSIX',
33
        'Operating System :: MacOS',
34
        'Operating System :: Unix',
35
        'Programming Language :: Python',
36
        'Programming Language :: Python :: 2',
37
        'Programming Language :: Python :: 3',
38
    ]
39
)
40