new_contents: import os
  from io import open
  
  import versioneer
  
  from setuptools import setup
  try:
      from Cython.Build import cythonize
      ext_modules = cythonize(["gr2m/gr2m.py"])
  except:
      ext_modules = []
  
  here = os.path.abspath(os.path.dirname(__file__))
  with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
      long_description = f.read()
  
  setup(
      name='gr2m',
      version=versioneer.get_version(),
      cmdclass=versioneer.get_cmdclass(),
      description='Python implementation of the GR2M hydrologic rainfall-runoff model.',
      long_description=long_description,
      author='Andrew MacDonald',
      author_email='andrew@maccas.net',
      license='BSD',
      url='https://github.com/amacd31/gr2m',
      packages = ['gr2m'],
      ext_modules = ext_modules,
      test_suite = 'nose.collector',
      test_requires = [
          'numpy',
          'pandas',
      ],
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Science/Research',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'License :: OSI Approved :: BSD License',
  
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.2',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
      ],
  )
  
subject: Include setup.py