old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from __future__ import absolute_import, division, print_function, unicode_literals
  import io
  import os
  import os.path
  
  from setuptools import setup, find_packages, Extension
  
  
  def read(file_path):
      here = os.path.abspath(os.path.dirname(__file__))
      with io.open(os.path.join(here, file_path), 'r', encoding='utf-8') as fp:
          return fp.read()
  
  
  setup(
      name='zbarlight',
      version='1.0.2.dev0',
      description="A simple zbar wrapper",
      long_description=read('README.rst'),
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Programming Language :: C',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Topic :: Scientific/Engineering :: Image Recognition',
      ],
      keywords=['zbar', 'QR code reader'],
      author='Polyconseil',
      author_email='opensource+zbarlight@polyconseil.fr',
      url='https://github.com/Polyconseil/zbarlight/',
      license='BSD',
      packages=find_packages(where='src', exclude=['docs', 'tests']),
      package_dir={'': str('src')},
      ext_modules=[
          Extension(
              name=str('zbarlight._zbarlight'),
              sources=[str('src/zbarlight/_zbarlight.c')],
              extra_compile_args=['-std=c99'],
              libraries=['zbar'],
          ),
      ],
      include_package_data=True,
      zip_safe=False,
      setup_requires=[
          'setuptools',
      ],
      install_requires=[
          'Pillow',
      ],
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from setuptools import setup, find_packages, Extension
  
  
  def read(file_path):
      with open(file_path) as fp:
          return fp.read()
  
  
  setup(
      name='zbarlight',
      version='1.0.2.dev0',
      description="A simple zbar wrapper",
      long_description=read('README.rst'),
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Programming Language :: C',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
          'Topic :: Scientific/Engineering :: Image Recognition',
      ],
      keywords=['zbar', 'QR code reader'],
      author='Polyconseil',
      author_email='opensource+zbarlight@polyconseil.fr',
      url='https://github.com/Polyconseil/zbarlight/',
      license='BSD',
      packages=find_packages(where='src', exclude=['docs', 'tests']),
      package_dir={'': str('src')},
      ext_modules=[
          Extension(
              name=str('zbarlight._zbarlight'),
              sources=[str('src/zbarlight/_zbarlight.c')],
              extra_compile_args=['-std=c99'],
              libraries=['zbar'],
          ),
      ],
      include_package_data=True,
      zip_safe=False,
      setup_requires=[
          'setuptools',
      ],
      install_requires=[
          'Pillow',
      ],
  )
  
subject: Simplify setup.py code