old_contents: #!/usr/bin/env python
  """
  changes
  ========
  
  Magic.
  
  :copyright: (c) 2013 Dropbox, Inc.
  """
  
  from setuptools import setup, find_packages
  from setuptools.command.test import test as TestCommand
  import sys
  
  setup_requires = []
  
  if 'test' in sys.argv:
      setup_requires.append('pytest')
  
  tests_require = [
      'exam',
      'flake8',
      'loremipsum',
      'httpretty',
      'mock',
      'raven',
      'pytest',
      'pytest-cov',
      'pytest-xdist',
      'unittest2',
  ]
  
  install_requires = [
      'argparse',
      'alembic',
      'enum34',
      'flask',
      'flask-actions',
      'flask-sqlalchemy',
      'gevent',
      'lxml',
      'redis',
      'requests',
      'rq',
      'phabricator',
      'psycopg2',
      'simplejson',
      'unicode-slugify',
  ]
  
  
  class PyTest(TestCommand):
      def finalize_options(self):
          TestCommand.finalize_options(self)
          self.test_args = ['tests']
          self.test_suite = True
  
      def run_tests(self):
          #import here, cause outside the eggs aren't loaded
          import pytest
          errno = pytest.main(self.test_args)
          sys.exit(errno)
  
  
  setup(
      name='changes',
      version='0.1.0',
      author='Dropbox, Inc',
      description='',
      long_description=__doc__,
      packages=find_packages(),
      zip_safe=False,
      install_requires=install_requires,
      extras_require={
          'tests': tests_require,
      },
      tests_require=tests_require,
      cmdclass={'test': PyTest},
      include_package_data=True,
      entry_points={
          'console_scripts': [
              'changes-web = changes.runner:web',
              'changes-poller = changes.runner:poller',
              'changes-worker = changes.runner:worker',
          ],
      },
      classifiers=[
          '__DO NOT UPLOAD__',
          'Intended Audience :: Developers',
          'Intended Audience :: System Administrators',
          'Operating System :: OS Independent',
          'Topic :: Software Development'
      ],
  )
  
new_contents: #!/usr/bin/env python
  """
  changes
  ========
  
  Magic.
  
  :copyright: (c) 2013 Dropbox, Inc.
  """
  
  from setuptools import setup, find_packages
  from setuptools.command.test import test as TestCommand
  import sys
  
  setup_requires = []
  
  if 'test' in sys.argv:
      setup_requires.append('pytest')
  
  tests_require = [
      'exam',
      'flake8',
      'loremipsum',
      'httpretty',
      'mock',
      'pytest',
      'pytest-cov',
      'pytest-xdist',
      'unittest2',
  ]
  
  install_requires = [
      'argparse',
      'alembic',
      'blinker',
      'enum34',
      'flask',
      'flask-actions',
      'flask-sqlalchemy',
      'gevent',
      'lxml',
      'raven',
      'redis',
      'requests',
      'rq',
      'phabricator',
      'psycopg2',
      'simplejson',
      'unicode-slugify',
  ]
  
  
  class PyTest(TestCommand):
      def finalize_options(self):
          TestCommand.finalize_options(self)
          self.test_args = ['tests']
          self.test_suite = True
  
      def run_tests(self):
          #import here, cause outside the eggs aren't loaded
          import pytest
          errno = pytest.main(self.test_args)
          sys.exit(errno)
  
  
  setup(
      name='changes',
      version='0.1.0',
      author='Dropbox, Inc',
      description='',
      long_description=__doc__,
      packages=find_packages(),
      zip_safe=False,
      install_requires=install_requires,
      extras_require={
          'tests': tests_require,
      },
      tests_require=tests_require,
      cmdclass={'test': PyTest},
      include_package_data=True,
      entry_points={
          'console_scripts': [
              'changes-web = changes.runner:web',
              'changes-poller = changes.runner:poller',
              'changes-worker = changes.runner:worker',
          ],
      },
      classifiers=[
          '__DO NOT UPLOAD__',
          'Intended Audience :: Developers',
          'Intended Audience :: System Administrators',
          'Operating System :: OS Independent',
          'Topic :: Software Development'
      ],
  )
  
subject: Correct Sentry requirements