old_contents: import os
  
  from setuptools import setup
  
  here = os.path.abspath(os.path.dirname(__file__))
  with open(os.path.join(here, 'README.rst')) as f:
      README = f.read()
  with open(os.path.join(here, 'CHANGES.txt')) as f:
      CHANGES = f.read()
  
  install_requires = [
      'babel',
      'pyramid',
      'pytz',
  ]
  
  tests_require = install_requires + [
      'nose',
      'webtest',
  ]
  
  
  setup(
      name='djed.formatter',
      version='0.1.dev0',
      description='Formatting helpers for pyramid',
      long_description='\n\n'.join([README, CHANGES]),
      classifiers=[
          "Framework :: Pyramid",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: ISC License (ISCL)",
          "Programming Language :: Python",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Topic :: Internet :: WWW/HTTP",
      ],
      author='Djed developers',
      author_email='djedproject@googlegroups.com',
      url='https://github.com/djedproject/djed.formatter',
      license='ISC License (ISCL)',
      keywords='web pyramid pylons',
      packages=['djed.formatter'],
      include_package_data=True,
      install_requires=install_requires,
      extras_require={
          'testing': tests_require,
      },
      test_suite='nose.collector',
      )
  
new_contents: import os
  
  from setuptools import setup
  
  here = os.path.abspath(os.path.dirname(__file__))
  with open(os.path.join(here, 'README.rst')) as f:
      README = f.read()
  with open(os.path.join(here, 'CHANGES.txt')) as f:
      CHANGES = f.read()
  
  install_requires = [
      'babel',
      'pyramid',
      'pytz',
  ]
  
  tests_require = [
      'nose',
      'webtest',
  ]
  
  
  setup(
      name='djed.formatter',
      version='0.1.dev0',
      description='Formatting helpers for pyramid',
      long_description='\n\n'.join([README, CHANGES]),
      classifiers=[
          "Framework :: Pyramid",
          "Intended Audience :: Developers",
          "License :: OSI Approved :: ISC License (ISCL)",
          "Programming Language :: Python",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Topic :: Internet :: WWW/HTTP",
      ],
      author='Djed developers',
      author_email='djedproject@googlegroups.com',
      url='https://github.com/djedproject/djed.formatter',
      license='ISC License (ISCL)',
      keywords='web pyramid pylons',
      packages=['djed.formatter'],
      include_package_data=True,
      install_requires=install_requires,
      extras_require={
          'testing': tests_require,
      },
      test_suite='nose.collector',
      )
  
subject: update setup.py tests require