old_contents: from ez_setup import use_setuptools
  use_setuptools()
  
  from setuptools import setup, find_packages
  
  version = '0.0.0'
  try:
      import pyramid_handy
      version = pyramid_handy.__version__
  except ImportError:
      pass
  
  tests_require = [
      'webtest',
      'pytest',
      'pytest-cov',
      'pytest-xdist',
      'pytest-capturelog',
  ]
  
  setup(
      name='pyramid-handy',
      version=version,
      packages=find_packages(),
      install_requires=[
          'pyramid',
      ],
      extras_require=dict(
          tests=tests_require,
      ),
      tests_require=tests_require,
  )
  
new_contents: from ez_setup import use_setuptools
  use_setuptools()
  
  from setuptools import setup, find_packages
  
  version = '0.0.0'
  try:
      import pyramid_handy
      version = pyramid_handy.__version__
  except ImportError:
      pass
  
  tests_require = [
      'webtest',
      'pytest',
      'pytest-cov',
      'pytest-xdist',
      'pytest-capturelog',
  ]
  
  setup(
      name='pyramid-handy',
      description='Some handy stuff for Pyramid web framework',
      classifiers=[
          "Intended Audience :: Developers",
          "Programming Language :: Python",
          "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
      ],
      keywords='pyramid',
      author='Victor Lin',
      author_email='bornstub@gmail.com',
      url='https://github.com/victorlin/pyramid-handy',
      license='MIT',
      version=version,
      packages=find_packages(),
      install_requires=[
          'pyramid',
      ],
      extras_require=dict(
          tests=tests_require,
      ),
      tests_require=tests_require,
  )
  
subject: Update info in setup.py