old_contents: from setuptools import setup, find_packages, Command
  
  
  class PyTest(Command):
      user_options = []
  
      def initialize_options(self):
          pass
  
      def finalize_options(self):
          pass
  
      def run(self):
          import sys
          import subprocess
          errno = subprocess.call([sys.executable, 'runtests.py'])
          raise SystemExit(errno)
  
  
  setup(
      name='beakeredis',
      version='0.0.3',
      description="Redis backend for Beaker",
      long_description="""
      Extending beaker (cache & session module) to use Redis backend
      """,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          '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.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: Implementation :: CPython',
          'Topic :: Utilities'
      ],
      keywords='Beaker',
      author='Alexander Pyatkin',
      author_email='asp@thexyz.net',
      url='https://github.com/aspyatkin/beakeredis',
      license='MIT',
      packages=find_packages('.'),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'Beaker>=1.6.4,<1.7',
          'redis>=2.10'
      ],
      cmdclass=dict(test=PyTest),
      entry_points="""
      # -*- Entry points: -*-
      [beaker.backends]
      redis = beakeredis:RedisManager
      """
  )
  
new_contents: from setuptools import setup, find_packages, Command
  
  
  class PyTest(Command):
      user_options = []
  
      def initialize_options(self):
          pass
  
      def finalize_options(self):
          pass
  
      def run(self):
          import sys
          import subprocess
          errno = subprocess.call([sys.executable, 'runtests.py'])
          raise SystemExit(errno)
  
  
  setup(
      name='beakeredis',
      version='0.0.3',
      description="Redis backend for Beaker",
      long_description="""
      Extending beaker (cache & session module) to use Redis backend
      """,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          '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.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: Implementation :: CPython',
          'Topic :: Utilities'
      ],
      keywords='Beaker',
      author='Alexander Pyatkin',
      author_email='asp@thexyz.net',
      url='https://github.com/aspyatkin/beakeredis',
      license='MIT',
      packages=find_packages('.'),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'Beaker>=1.6.4',
          'redis>=2.10'
      ],
      cmdclass=dict(test=PyTest),
      entry_points="""
      # -*- Entry points: -*-
      [beaker.backends]
      redis = beakeredis:RedisManager
      """
  )
  
subject: Update setup.py