#!/usr/bin/env python
from setuptools import setup


import versioneer
versioneer.versionfile_source = "circuit/_version.py"
versioneer.versionfile_build = "circuit/_version.py"
versioneer.tag_prefix = ""
versioneer.parentdir_prefix = ""
commands = versioneer.get_cmdclass().copy()

with open('README.md') as f:
    long_description = f.read().strip()

setup(name='python-circuit',
      version=versioneer.get_version(),
      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',
      packages=['circuit'],
      test_suite='circuit.test',
      tests_require=[
          'mockito==0.5.2',
          'Twisted>=10.2'
      ],
      cmdclass=commands)

#!/usr/bin/env python

from distutils.core import setup
import os.path

import versioneer
versioneer.versionfile_source = "circuit/_version.py"
versioneer.versionfile_build = "circuit/_version.py"
versioneer.tag_prefix = ""
versioneer.parentdir_prefix = ""
commands = versioneer.get_cmdclass().copy()

## Get long_description from index.txt:
here = os.path.dirname(os.path.abspath(__file__))
f = open(os.path.join(here, 'README.md'))
long_description = f.read().strip()
f.close()

setup(name='python-circuit',
      version=versioneer.get_version(),
      description='Simple implementation of the Circuit Breaker pattern',
      long_description=long_description,
      author='Johan Rydberg',
      author_email='johan.rydberg@gmail.com',
      url='https://github.com/edgeware/python-circuit',
      packages=['circuit'],
      cmdclass=commands)

--- 
+++ 
@@ -1,7 +1,6 @@
 #!/usr/bin/env python
+from setuptools import setup
 
-from distutils.core import setup
-import os.path
 
 import versioneer
 versioneer.versionfile_source = "circuit/_version.py"
@@ -10,18 +9,20 @@
 versioneer.parentdir_prefix = ""
 commands = versioneer.get_cmdclass().copy()
 
-## Get long_description from index.txt:
-here = os.path.dirname(os.path.abspath(__file__))
-f = open(os.path.join(here, 'README.md'))
-long_description = f.read().strip()
-f.close()
+with open('README.md') as f:
+    long_description = f.read().strip()
 
 setup(name='python-circuit',
       version=versioneer.get_version(),
       description='Simple implementation of the Circuit Breaker pattern',
       long_description=long_description,
-      author='Johan Rydberg',
-      author_email='johan.rydberg@gmail.com',
+      author='Edgeware',
+      author_email='info@edgeware.tv',
       url='https://github.com/edgeware/python-circuit',
       packages=['circuit'],
+      test_suite='circuit.test',
+      tests_require=[
+          'mockito==0.5.2',
+          'Twisted>=10.2'
+      ],
       cmdclass=commands)
Add test suit and requirements.
