new_contents: import sys
  import re
  from setuptools import setup, find_packages
  
  
  def get_version():
      with open('version.py') as version_file:
          return re.search(r"""__version__\s+=\s+(['"])(?P<version>.+?)\1""",
                           version_file.read()).group('version')
  
  
  def readme():
      ''' Returns README.rst contents as str '''
      with open('README.rst') as f:
          return f.read()
  
  install_requires = [
      'python-json-logger==0.1.2',
      'ConcurrentLogHandler==0.9.1',
      'redis==2.10.3',
      'kazoo==2.2.1',
      'mock==1.3.0',
      'testfixtures==4.3.3'
  ]
  
  lint_requires = [
      'pep8',
      'pyflakes'
  ]
  
  tests_require = [
      'mock==1.3.0',
      'testfixtures==4.3.3'
  ]
  
  dependency_links = []
  setup_requires = []
  extras_require = {
      'test': tests_require,
      'all': install_requires + tests_require,
      'docs': ['sphinx'] + tests_require,
      'lint': lint_requires
  }
  
  if 'nosetests' in sys.argv[1:]:
      setup_requires.append('nose')
  
  setup(
      name='scutils',
      version=get_version(),
      description='Utilities for Scrapy Cluster',
      long_description=readme(),
      author='Jason Haas',
      author_email='jasonrhaas@gmail.com',
      license='MIT',
      url='https://github.com/istresearch/scrapy-cluster/utils',
      keywords=['scrapy', 'scrapy-cluster'],
      packages=find_packages(),
      package_data={},
      # data_files=data_files,
      install_requires=install_requires,
      tests_require=tests_require,
      setup_requires=setup_requires,
      extras_require=extras_require,
      dependency_links=dependency_links,
      zip_safe=True,
      # test_suite='nose.collector',
      include_package_data=True,
      # entry_points={'console_scripts': ['traptor=traptor.traptor:main']},
      # classifiers=[
      #     'Development Status :: 3 - Alpha',
      #     'Intended Audience :: Developers',
      #     'Topic :: Text Processing :: General',
      #     'License :: OSI Approved :: MIT License',
      #     'Programming Language :: Python :: 2',
      #     'Programming Language :: Python :: 2.7',
      # ],
  )
  
subject: Add setup.py file for scutils