-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (24 loc) · 799 Bytes
/
setup.py
File metadata and controls
29 lines (24 loc) · 799 Bytes
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
#!/usr/bin/env python
import sys
from setuptools import setup
with open('README.md') as f:
long_description = f.read().strip()
tests_require = [
'mockito==0.6.0',
]
if sys.version_info < (2, 7):
tests_require.append('unittest2')
tests_require.append('Twisted>=10.2,<15.5') # py2.6 support was dropped in 15.5
else:
tests_require.append('Twisted>=10.2')
setup(name='python-circuit',
version='0.1.9',
description='Simple implementation of the Circuit Breaker pattern',
long_description=long_description,
author='Edgeware',
author_email='info@edgeware.tv',
url='https://github.com/edgeware/python-circuit',
license='Apache v2.0 License',
packages=['circuit'],
test_suite='circuit.test',
tests_require=tests_require)