old_contents: #!/usr/bin/python
  
  import os
  
  from setuptools import setup, find_packages
  
  this_dir = os.path.dirname(os.path.abspath(__file__))
  
  readme_path = os.path.join(this_dir, 'README.rst')
  
  with open(readme_path) as f:
      long_description = f.read()
  
  install_requires = [
      'Flask',
      'Pygments',
      'xstatic',
      'xstatic-bootbox',
      'xstatic-bootstrap',
      'xstatic-jquery',
      'xstatic-jquery-ui',
      'xstatic-jquery-file-upload',
      'xstatic-pygments',
  ]
  
  try:
      import importlib
  except ImportError:
      install_requires.append('importlib')
  
  setup(
      name='bepasty',
      use_scm_version={
          'write_to': 'src/bepasty/_version.py',
      },
      setup_requires=['setuptools_scm', ],
      license='BSD 2-clause',
      author='The Bepasty Team (see AUTHORS file)',
      author_email='',
      maintainer='Thomas Waldmann',
      maintainer_email='tw@waldmann-edv.de',
      description='a binary pastebin / file upload service',
      long_description=long_description,
      url='http://github.com/bepasty/bepasty-server/',
      keywords="text image audio video binary pastebin upload download service wsgi flask",
      packages=find_packages('src'),
      package_dir={'': 'src'},
      package_data={
          'bepasty': [
              'src/static/app/css/*.css',
              'src/static/app/js/*.js',
              'src/templates/*',
          ],
      },
      include_package_data=True,
      zip_safe=False,
      entry_points={
          'console_scripts': [
              'bepasty-server = bepasty.cli.server:main',
              'bepasty-object = bepasty.cli.object:main',
          ],
      },
      install_requires=install_requires,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
      ],
  )
  
new_contents: #!/usr/bin/python
  
  import os
  
  from setuptools import setup, find_packages
  
  this_dir = os.path.dirname(os.path.abspath(__file__))
  
  readme_path = os.path.join(this_dir, 'README.rst')
  
  with open(readme_path) as f:
      long_description = f.read()
  
  
  setup(
      name='bepasty',
      use_scm_version={
          'write_to': 'src/bepasty/_version.py',
      },
      license='BSD 2-clause',
      author='The Bepasty Team (see AUTHORS file)',
      author_email='',
      maintainer='Thomas Waldmann',
      maintainer_email='tw@waldmann-edv.de',
      description='a binary pastebin / file upload service',
      long_description=long_description,
      url='http://github.com/bepasty/bepasty-server/',
      keywords="text image audio video binary pastebin upload download service wsgi flask",
      packages=find_packages('src'),
      package_dir={'': 'src'},
      package_data={
          'bepasty': [
              'src/static/app/css/*.css',
              'src/static/app/js/*.js',
              'src/templates/*',
          ],
      },
      include_package_data=True,
      zip_safe=False,
      entry_points={
          'console_scripts': [
              'bepasty-server = bepasty.cli.server:main',
              'bepasty-object = bepasty.cli.object:main',
          ],
      },
      setup_requires=['setuptools_scm', ],
      install_requires=[
          'Flask',
          'Pygments',
          'xstatic',
          'xstatic-bootbox',
          'xstatic-bootstrap',
          'xstatic-jquery',
          'xstatic-jquery-ui',
          'xstatic-jquery-file-upload',
          'xstatic-pygments',
      ],
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
      ],
  )
  
subject: remove hack for importlib, clean up setup.py