old_contents: #!/usr/bin/env python
  
  # Project skeleton maintained at https://github.com/jaraco/skeleton
  
  import io
  
  import setuptools
  
  with io.open('README.rst', encoding='utf-8') as readme:
      long_description = readme.read()
  
  name = 'cheroot'
  description = 'Highly-optimized, pure-python HTTP server'
  
  params = dict(
      name=name,
      use_scm_version=True,
      author='CherryPy Team',
      author_email='team@cherrypy.org',
      description=description or name,
      long_description=long_description,
      url='https://github.com/cherrypy/' + name,
      packages=setuptools.find_packages(),
      include_package_data=True,
      namespace_packages=name.split('.')[:-1],
      python_requires='>=2.6,!=3.0.*',
      install_requires=[
          'six',
      ],
      extras_require={
          'testing': [
              'pytest>=2.8',
              'pytest-sugar',
              'backports.unittest_mock',
              'nose',
              'portend',
          ],
      },
      setup_requires=[
          'setuptools_scm>=1.15.0',
      ],
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'Operating System :: OS Independent',
          'Framework :: CherryPy',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.1',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: Implementation',
          'Programming Language :: Python :: Implementation :: CPython',
          'Programming Language :: Python :: Implementation :: Jython',
          'Programming Language :: Python :: Implementation :: PyPy',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
          'Topic :: Internet :: WWW/HTTP :: WSGI',
          'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
      ],
      entry_points={
      },
  )
  if __name__ == '__main__':
      setuptools.setup(**params)
  
new_contents: #! /usr/bin/env python
  """CherryPy package setuptools installer."""
  
  # Project skeleton maintained at https://github.com/jaraco/skeleton
  
  import io
  
  import setuptools
  
  with io.open('README.rst', encoding='utf-8') as readme:
      long_description = readme.read()
  
  name = 'cheroot'
  description = 'Highly-optimized, pure-python HTTP server'
  
  params = dict(
      name=name,
      use_scm_version=True,
      author='CherryPy Team',
      author_email='team@cherrypy.org',
      description=description or name,
      long_description=long_description,
      url='https://github.com/cherrypy/' + name,
      packages=setuptools.find_packages(),
      include_package_data=True,
      namespace_packages=name.split('.')[:-1],
      python_requires='>=2.6,!=3.0.*',
      install_requires=[
          'six',
      ],
      extras_require={
          'testing': [
              'pytest>=2.8',
              'pytest-sugar',
              'backports.unittest_mock',
              'portend',
          ],
      },
      setup_requires=[
          'setuptools_scm>=1.15.0',
      ],
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'Operating System :: OS Independent',
          'Framework :: CherryPy',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.1',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: Implementation',
          'Programming Language :: Python :: Implementation :: CPython',
          'Programming Language :: Python :: Implementation :: Jython',
          'Programming Language :: Python :: Implementation :: PyPy',
          'Topic :: Internet :: WWW/HTTP',
          'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
          'Topic :: Internet :: WWW/HTTP :: WSGI',
          'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
      ],
      entry_points={
      },
  )
  if __name__ == '__main__':
      setuptools.setup(**params)
  
subject: Drop nose from install extras