old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """
  md2pdf - setup file
  """
  
  import md2pdf
  
  from setuptools import setup, find_packages
  
  
  def parse_requirements(requirements, ignore=('setuptools',)):
      """
      Read dependencies from requirements file (with version numbers if any)
  
      Notes:
          - this implementation does not support requirements files with extra
            requirements
          - this implementation has been taken from TailorDev/Watson's setup file
      """
      with open(requirements) as f:
          packages = set()
          for line in f:
              line = line.strip()
              if line.startswith(('#', '-r', '--')):
                  continue
              if '#egg=' in line:
                  line = line.split('#egg=')[1]
              pkg = line.strip()
              if pkg not in ignore:
                  packages.add(pkg)
          return packages
  
  
  setup(
      name='md2pdf',
      version=md2pdf.__version__,
      packages=find_packages(),
      scripts=['scripts/md2pdf', ],
      install_requires=parse_requirements('requirements.txt'),
      tests_require=parse_requirements('requirements-dev.txt'),
      author='Julien Maupetit',
      author_email='julien@maupetit.net',
      description='md2pdf, a Markdown to PDF conversion tool',
      license='MIT',
      keywords='markdown converter css pdf',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Customer Service',
          'Intended Audience :: End Users/Desktop',
          'Intended Audience :: Information Technology',
          'Intended Audience :: Science/Research',
          'Intended Audience :: Other Audience',
          'License :: OSI Approved :: MIT License',
          'Environment :: Console',
          'Operating System :: MacOS',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Topic :: Office/Business',
          'Topic :: Utilities',
      ],
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  """
  md2pdf - setup file
  """
  
  import md2pdf
  
  from setuptools import setup, find_packages
  
  
  def parse_requirements(requirements, ignore=('setuptools',)):
      """
      Read dependencies from requirements file (with version numbers if any)
  
      Notes:
          - this implementation does not support requirements files with extra
            requirements
          - this implementation has been taken from TailorDev/Watson's setup file
      """
      with open(requirements) as f:
          packages = set()
          for line in f:
              line = line.strip()
              if line.startswith(('#', '-r', '--')):
                  continue
              if '#egg=' in line:
                  line = line.split('#egg=')[1]
              pkg = line.strip()
              if pkg not in ignore:
                  packages.add(pkg)
          return packages
  
  
  setup(
      name='md2pdf',
      version=md2pdf.__version__,
      packages=find_packages(),
      scripts=['scripts/md2pdf', ],
      install_requires=parse_requirements('requirements.txt'),
      tests_require=parse_requirements('requirements-dev.txt'),
      author='Julien Maupetit',
      author_email='julien@maupetit.net',
      description='md2pdf, a Markdown to PDF conversion tool',
      license='MIT',
      keywords='markdown converter css pdf',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Customer Service',
          'Intended Audience :: End Users/Desktop',
          'Intended Audience :: Information Technology',
          'Intended Audience :: Science/Research',
          'Intended Audience :: Other Audience',
          'License :: OSI Approved :: MIT License',
          'Environment :: Console',
          'Operating System :: MacOS',
          'Operating System :: Microsoft :: Windows',
          'Operating System :: POSIX',
          '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',
          'Topic :: Office/Business',
          'Topic :: Utilities',
      ],
  )
  
subject: Fix python version compatibility