old_contents: import importlib
  import os
  import sys
  
  from setuptools import find_packages, setup
  
  __version__ = importlib.import_module('zendesk_tickets').__version__
  with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
      README = readme.read()
  
  tests_require = ['flake8']
  if sys.version_info < (3, 3):
      tests_require.append('mock>=1.3')
  
  setup_extensions = importlib.import_module('zendesk_tickets.setup_extensions')
  
  setup(
      name='django-zendesk-tickets',
      version=__version__,
      author='Ministry of Justice Digital Services',
      url='https://github.com/ministryofjustice/django-zendesk-tickets',
      packages=find_packages(exclude=['tests']),
      include_package_data=True,
      license='MIT',
      description='Django views and forms that submit tickets to Zendesk',
      long_description=README,
      classifiers=[
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
      ],
      cmdclass=setup_extensions.command_classes,
      install_requires=['Django>=1.10,<2.1', 'requests', 'six'],
      tests_require=tests_require,
      test_suite='runtests.runtests',
  )
  
new_contents: import importlib
  import os
  import sys
  
  from setuptools import find_packages, setup
  
  __version__ = importlib.import_module('zendesk_tickets').__version__
  with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
      README = readme.read()
  
  tests_require = ['flake8>=3.5,<4']
  if sys.version_info < (3, 4):
      django_version = '>=1.10,<2'
      tests_require.append('mock>=2,<3')
  else:
      django_version = '>=1.10,<2.1'
  
  setup_extensions = importlib.import_module('zendesk_tickets.setup_extensions')
  
  setup(
      name='django-zendesk-tickets',
      version=__version__,
      author='Ministry of Justice Digital Services',
      url='https://github.com/ministryofjustice/django-zendesk-tickets',
      packages=find_packages(exclude=['tests']),
      include_package_data=True,
      license='MIT',
      description='Django views and forms that submit tickets to Zendesk',
      long_description=README,
      classifiers=[
          'Framework :: Django',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
      ],
      cmdclass=setup_extensions.command_classes,
      install_requires=['Django%s' % django_version, 'requests', 'six'],
      tests_require=tests_require,
      test_suite='runtests.runtests',
  )
  
subject: Fix compatibility with python 2.7