old_contents: from codecs import open as codecs_open
  from setuptools import setup, find_packages
  
  
  # Get the long description from the relevant file
  with codecs_open('README.rst', encoding='utf-8') as f:
      long_description = f.read()
  
  
  setup(name='tile-stitcher',
        version='0.0.1',
        description=u"Stitch image tiles into composite TIFs",
        long_description=long_description,
        classifiers=[],
        keywords='',
        author=u"Damon Burgett",
        author_email='damon@mapbox.com',
        url='https://github.com/mapbox/tile-stitcher',
        license='MIT',
        packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
        include_package_data=True,
        zip_safe=False,
        install_requires=[
            'click'
        ],
        extras_require={
            'test': ['pytest'],
        },
        entry_points="""
        [console_scripts]
        tile-stitch=tile_stitcher.scripts.cli:cli
        """
        )
  
new_contents: from codecs import open as codecs_open
  from setuptools import setup, find_packages
  
  
  # Get the long description from the relevant file
  with codecs_open('README.rst', encoding='utf-8') as f:
      long_description = f.read()
  
  
  setup(name='tile-stitcher',
        version='0.0.1',
        description=u"Stitch image tiles into composite TIFs",
        long_description=long_description,
        classifiers=[],
        keywords='',
        author=u"Damon Burgett",
        author_email='damon@mapbox.com',
        url='https://github.com/mapbox/tile-stitcher',
        license='MIT',
        packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
        include_package_data=True,
        zip_safe=False,
        install_requires=[
            'click'
        ],
        extras_require={
            'test': ['pytest', 'pytest-cov'],
        },
        entry_points="""
        [console_scripts]
        tile-stitch=tile_stitcher.scripts.cli:cli
        """
        )
  
subject: Add pytest-cov to test extras