old_contents: import multiprocessing  # stop tests breaking tox
  from setuptools import setup
  
  import tvrenamr
  
  
  requires = ('pyyaml', 'requests')
  packages = ('tvrenamr',)
  
  setup_requires = ('minimock', 'mock', 'nose', 'pyyaml')
  
  setup(
      name = tvrenamr.__title__,
      version = tvrenamr.__version__,
      description = 'Rename tv show files using online databases',
      long_description = open('README.rst').read() + '\n\n' +
                         open('CHANGELOG.rst').read(),
      author = tvrenamr.__author__,
      author_email = 'george@ghickman.co.uk',
      url = 'http://tvrenamr.info',
      license = 'MIT',
      packages = packages,
      entry_points = {'console_scripts': ['tvr = tvrenamr.frontend:run']},
      classifiers = (
          'Development Status :: 6 - Mature',
          'Environment :: Console',
          'Intended Audience :: End Users/Desktop',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English'
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.3',
          'Topic :: Utilities',
      ),
      install_requires = requires,
      setup_requires=setup_requires,
      test_suite='nose.collector',
  )
  
  
new_contents: import multiprocessing  # noqa # stop tests breaking tox
  from setuptools import setup
  
  import tvrenamr
  
  
  requires = ['pyyaml', 'requests']
  setup_requires = ('minimock', 'mock', 'nose', 'pyyaml')
  
  setup(
      name=tvrenamr.__title__,
      version=tvrenamr.__version__,
      description='Rename tv show files using online databases',
      long_description=open('README.rst').read() + '\n\n' +
      open('CHANGELOG.rst').read(),
      author=tvrenamr.__author__,
      author_email='george@ghickman.co.uk',
      url='http://tvrenamr.info',
      license='MIT',
      packages=['tvrenamr'],
      entry_points={'console_scripts': ['tvr=tvrenamr.frontend:run']},
      classifiers=(
          'Development Status :: 6 - Mature',
          'Environment :: Console',
          'Intended Audience :: End Users/Desktop',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English'
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.3',
          'Topic :: Utilities',
      ),
      install_requires=requires,
      setup_requires=setup_requires,
      test_suite='nose.collector',
  )
  
subject: Tidy up setup.py