old_contents: # Copyright (c) 2016-2017, Imperial College London
  # Copyright (c) 2016-2017, Ghislain Antony Vaillant
  # All rights reserved.
  #
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the BSD license. See the accompanying LICENSE file
  # or read the terms at https://opensource.org/licenses/BSD-3-Clause.
  
  from setuptools import find_packages, setup
  from distutils.version import StrictVersion
  from sys import version_info
  
  
  install_requires = ['cffi>=1.0.0', 'numpy']
  py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
  if py_version < StrictVersion('3.4'):
      install_requires.append('enum34')
  
  
  # Utility function to read the README file for the long_description field.
  def read(fname):
      from os.path import join, dirname
      return open(join(dirname(__file__), fname)).read()
  
  
  setup(
      name = 'nfft-cffi',
      version = '0.1',
      description = 'Python interface to the NFFT library',
      long_description=read('README.rst'),
      url = 'https://github.com/ghisvail/nfft-cffi',
      author = 'Ghislain Antony Vaillant',
      author_email = 'ghisvail@gmail.com',
      license = 'BSD',
      classifiers = [
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python',
          'Topic :: Software Development',
          ],
      keywords = 'gridding nfft nufft nusfft',
      packages=find_packages(exclude=['builders', 'docs', 'tests']),
      setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
      install_requires=install_requires,
      ext_package='nfft',
      cffi_modules=['build.py:ffibuilder'],
  )
  
new_contents: # Copyright (c) 2016-2017, Imperial College London
  # Copyright (c) 2016-2017, Ghislain Antony Vaillant
  # All rights reserved.
  #
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the BSD license. See the accompanying LICENSE file
  # or read the terms at https://opensource.org/licenses/BSD-3-Clause.
  
  from setuptools import find_packages, setup
  from distutils.version import StrictVersion
  from sys import version_info
  
  
  install_requires = ['cffi>=1.0.0', 'numpy']
  py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
  if py_version < StrictVersion('3.4'):
      install_requires.append('enum34')
  
  
  # Utility function to read the README file for the long_description field.
  def read(fname):
      from os.path import join, dirname
      return open(join(dirname(__file__), fname)).read()
  
  
  setup(
      name = 'nfft-cffi',
      version = '0.1',
      description = 'Python interface to the NFFT library',
      long_description=read('README.rst'),
      url = 'https://github.com/ghisvail/nfft-cffi',
      author = 'Ghislain Antony Vaillant',
      author_email = 'ghisvail@gmail.com',
      license = 'BSD',
      classifiers = [
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Programming Language :: Python',
          'Topic :: Software Development',
          ],
      keywords = 'gridding nfft nufft nusfft',
      packages=find_packages(exclude=['builders', 'docs', 'tests']),
      setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
      install_requires=install_requires,
      cffi_modules=['build.py:ffibuilder'],
  )
  
subject: Remove ext_package field