old_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  from setuptools import setup, Extension
  from setuptools.command.build_ext import build_ext as _build_ext
  
  
  # See http://stackoverflow.com/a/21621689/1085344
  class build_ext(_build_ext):
      def finalize_options(self):
          _build_ext.finalize_options(self)
          # Prevent numpy from thinking it is still in its setup process:
          if hasattr(__builtins__, '__NUMPY_SETUP__'):
              __builtins__.__NUMPY_SETUP__ = False
          import numpy
          self.include_dirs.append(numpy.get_include())
  
  
  with open('README.rst') as f:
      readme = f.read()
  
  requires = ['numpy >=1.8.0, < 2.0.0']
  
  setup(
      name='pyemd',
      version= '0.0.9',
      description=("A Python wrapper for Ofir Pele and Michael Werman's " +
                   "implementation of the Earth Mover's Distance."),
      long_description=readme,
      author='Will Mayner',
      author_email='wmayner@gmail.com',
      url="https://github.com/wmayner/pyemd",
      license='MIT',
      packages=['pyemd'],
      package_data={'pyemd': ['lib/*.hpp']},
      install_requires=requires,
      cmdclass={'build_ext':build_ext},
      setup_requires=['numpy'],
      ext_modules=[Extension("pyemd/emd", ["pyemd/emd.cpp"],
                             language="c++")],
      classifiers=(
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'Natural Language :: English',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3'
      ),
  )
  
new_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  from setuptools import setup, Extension
  from setuptools.command.build_ext import build_ext as _build_ext
  
  
  # See http://stackoverflow.com/a/21621689/1085344
  class build_ext(_build_ext):
      def finalize_options(self):
          _build_ext.finalize_options(self)
          # Prevent numpy from thinking it is still in its setup process:
          if hasattr(__builtins__, '__NUMPY_SETUP__'):
              __builtins__.__NUMPY_SETUP__ = False
          import numpy
          self.include_dirs.append(numpy.get_include())
  
  
  with open('README.rst') as f:
      readme = f.read()
  
  requires = ['numpy >=1.8.0, < 2.0.0']
  
  setup(
      name='pyemd',
      version='0.0.9',
      description=("A Python wrapper for Ofir Pele and Michael Werman's " +
                   "implementation of the Earth Mover's Distance."),
      long_description=readme,
      author='Will Mayner',
      author_email='wmayner@gmail.com',
      url="https://github.com/wmayner/pyemd",
      license='MIT',
      packages=['pyemd'],
      package_data={'pyemd': ['lib/*.hpp']},
      install_requires=requires,
      cmdclass={'build_ext': build_ext},
      setup_requires=['numpy'],
      ext_modules=[Extension("pyemd.emd", ["pyemd/emd.cpp"],
                             language="c++")],
      classifiers=(
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'Natural Language :: English',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3'
      ),
  )
  
subject: Fix packaging error