old_contents: import os
  
  from setuptools import setup
  from setuptools import find_packages
  
  here = os.path.abspath(os.path.dirname(__file__))
  
  try:
      with open(os.path.join(here, 'README.rst')) as f:
          README = f.read()
      with open(os.path.join(here, 'CHANGES.rst')) as f:
          CHANGES = f.read()
  except:
      README = ''
      CHANGES = ''
  
  
  setup(
      name='importscan',
      version='0.2.dev0',
      description='Recursively import modules and sub-packages',
      long_description=README + '\n\n' + CHANGES,
      classifiers=[
          "Intended Audience :: Developers",
          "Programming Language :: Python",
          "Programming Language :: Python :: 2.6",
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Programming Language :: Python :: Implementation :: CPython",
          "Programming Language :: Python :: Implementation :: PyPy",
      ],
      keywords='decorator import package',
      author="Martijn Faassen",
      author_email="faassen@startifact.com",
      license="BSD",
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools'
      ],
      extras_require=dict(
          test=['pytest >= 2.5.2',
                'py >= 1.4.20',
                'pytest-cov',
                'pytest-remove-stale-bytecode'],
      )
  )
  
new_contents: import io
  from setuptools import setup, find_packages
  
  long_description = '\n'.join((
      io.open('README.rst', encoding='utf-8').read(),
      io.open('CHANGES.txt', encoding='utf-8').read()
  ))
  
  setup(
      name='importscan',
      version='0.2.dev0',
      description='Recursively import modules and sub-packages',
      long_description=long_description,
      classifiers=[
          "Intended Audience :: Developers",
          "Programming Language :: Python",
          "Programming Language :: Python :: 2.6",
          "Programming Language :: Python :: 2.7",
          "Programming Language :: Python :: 3",
          "Programming Language :: Python :: 3.3",
          "Programming Language :: Python :: 3.4",
          "Programming Language :: Python :: Implementation :: CPython",
          "Programming Language :: Python :: Implementation :: PyPy",
      ],
      keywords='decorator import package',
      author="Martijn Faassen",
      author_email="faassen@startifact.com",
      license="BSD",
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools'
      ],
      extras_require=dict(
          test=['pytest >= 2.5.2',
                'py >= 1.4.20',
                'pytest-cov',
                'pytest-remove-stale-bytecode'],
      )
  )
  
subject: Use io.open with encoding='utf-8' and flake8 compliance