old_contents: # from ez_setup import use_setuptools
  
  # use_setuptools ()
  
  from setuptools import setup, find_packages
  
  from pymt import __version__
  
  
  def read_requirements():
      import os
  
  
      path = os.path.dirname(os.path.abspath(__file__))
      requirements_file = os.path.join(path, 'requirements.txt')
      try:
          with open(requirements_file, 'r') as req_fp:
              requires = req_fp.read().split()
      except IOError:
          return []
      else:
          return [require.split() for require in requires]
  
  
  setup(name='PyMT',
        version=__version__,
        description='The CSDMS Python Modeling Toolkit',
        author='Eric Hutton',
        author_email='huttone@colorado.edu',
        url='http://csdms.colorado.edu',
        install_requires=read_requirements(),
        setup_requires=['setuptools', ],
        packages=find_packages(),
        entry_points={
            'console_scripts': [
                'cmt-config=cmt.cmd.cmt_config:main',
            ],
        },
        scripts=[
            'scripts/scrape_html_block',
            'scripts/vtu2ncu.py',
            'scripts/quickstart.py',
            'scripts/prmscan.py',
            'scripts/prm2template.py',
            'scripts/prm2input.py',
        ],
  )
  
new_contents: from setuptools import setup, find_packages
  
  from pymt import __version__
  
  
  def read_requirements():
      import os
  
  
      path = os.path.dirname(os.path.abspath(__file__))
      requirements_file = os.path.join(path, 'requirements.txt')
      try:
          with open(requirements_file, 'r') as req_fp:
              requires = req_fp.read().split()
      except IOError:
          return []
      else:
          return [require.split() for require in requires]
  
  
  setup(name='PyMT',
        version=__version__,
        description='The CSDMS Python Modeling Toolkit',
        author='Eric Hutton',
        author_email='huttone@colorado.edu',
        url='http://csdms.colorado.edu',
        install_requires=read_requirements(),
        setup_requires=['setuptools', ],
        packages=find_packages(),
        entry_points={
            'console_scripts': [
                'cmt-config=cmt.cmd.cmt_config:main',
            ],
        },
        scripts=[
            'scripts/scrape_html_block',
            'scripts/vtu2ncu.py',
            'scripts/quickstart.py',
            'scripts/prmscan.py',
            'scripts/prm2template.py',
            'scripts/prm2input.py',
        ],
  )
  
subject: Clean up.