old_contents: #!/usr/bin/env python
  # coding=utf-8
  
  from setuptools import setup, find_packages
  from codecs import open
  import os
  
  import versioneer
  
  
  CLASSIFIERS = """
  Development Status :: 3 - Alpha
  Intended Audience :: Science/Research
  License :: OSI Approved :: MIT License
  Programming Language :: Python :: 2
  Programming Language :: Python :: 2.7
  Programming Language :: Python :: 3
  Programming Language :: Python :: 3.4
  Programming Language :: Python :: 3.5
  Programming Language :: Python :: 3.6
  Programming Language :: Python :: Implementation :: CPython
  Topic :: Scientific/Engineering
  Operating System :: Microsoft :: Windows
  Operating System :: POSIX
  Operating System :: Unix
  Operating System :: MacOS
  """
  
  INSTALL_REQUIRES = [
      "click",
      "requests",
      "numpy>=1.13",
      "scipy",
      "netCDF4",
      "h5py",
      "pillow",
      "ruamel.yaml",
      "backports.functools_lru_cache",
      "future"
  ]
  
  EXTRAS_REQUIRE = {
      "fast": ["bohrium", "pyamg"],
      "bohrium": ["bohrium"],
      "gpu": ["bohrium", "pyopencl"],
      "postprocessing": ["xarray", "matplotlib"],
      "dev": ["pyinstrument", "versioneer"]
  }
  EXTRAS_REQUIRE["all"] = sorted(set(sum(EXTRAS_REQUIRE.values(), [])))
  
  CONSOLE_SCRIPTS = [
      "veros = veros.cli.veros:cli",
      "veros-run = veros.cli.veros_run:cli",
      "veros-copy-setup = veros.cli.veros_copy_setup:cli",
      "veros-resubmit = veros.cli.veros_resubmit:cli",
      "veros-create-mask = veros.cli.veros_create_mask:cli"
  ]
  
  PACKAGE_DATA = ["setup/*/assets.yml", "setup/*/*.npy", "setup/*/*.png"]
  
  here = os.path.abspath(os.path.dirname(__file__))
  with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
      long_description = f.read()
  
  setup(
      name="veros",
      license="MIT",
      author="Dion Häfner (NBI Copenhagen)",
      author_email="mail@dionhaefner.de",
      keywords="oceanography python parallel numpy multi-core "
               "geophysics ocean-model bohrium",
      description="The versatile ocean simulator, in pure Python, powered by Bohrium.",
      long_description=long_description,
      url="https://veros.readthedocs.io",
      version=versioneer.get_version(),
      cmdclass=versioneer.get_cmdclass(),
      packages=find_packages(),
      install_requires=INSTALL_REQUIRES,
      extras_require=EXTRAS_REQUIRE,
      entry_points={
          "console_scripts": CONSOLE_SCRIPTS,
      },
      package_data={
          "veros": PACKAGE_DATA
      },
      classifiers=[c for c in CLASSIFIERS.split("\n") if c]
  )
  
new_contents: #!/usr/bin/env python
  # coding=utf-8
  
  from setuptools import setup, find_packages
  from codecs import open
  import os
  
  import versioneer
  
  
  CLASSIFIERS = """
  Development Status :: 3 - Alpha
  Intended Audience :: Science/Research
  License :: OSI Approved :: MIT License
  Programming Language :: Python :: 2
  Programming Language :: Python :: 2.7
  Programming Language :: Python :: 3
  Programming Language :: Python :: 3.4
  Programming Language :: Python :: 3.5
  Programming Language :: Python :: 3.6
  Programming Language :: Python :: Implementation :: CPython
  Topic :: Scientific/Engineering
  Operating System :: Microsoft :: Windows
  Operating System :: POSIX
  Operating System :: Unix
  Operating System :: MacOS
  """
  
  INSTALL_REQUIRES = [
      "click",
      "requests>=2.18",
      "numpy>=1.13",
      "scipy",
      "netCDF4",
      "h5py",
      "pillow",
      "ruamel.yaml",
      "backports.functools_lru_cache",
      "future"
  ]
  
  EXTRAS_REQUIRE = {
      "fast": ["bohrium", "pyamg"],
      "bohrium": ["bohrium"],
      "gpu": ["bohrium", "pyopencl"],
      "postprocessing": ["xarray", "matplotlib"],
      "dev": ["pyinstrument", "versioneer"]
  }
  EXTRAS_REQUIRE["all"] = sorted(set(sum(EXTRAS_REQUIRE.values(), [])))
  
  CONSOLE_SCRIPTS = [
      "veros = veros.cli.veros:cli",
      "veros-run = veros.cli.veros_run:cli",
      "veros-copy-setup = veros.cli.veros_copy_setup:cli",
      "veros-resubmit = veros.cli.veros_resubmit:cli",
      "veros-create-mask = veros.cli.veros_create_mask:cli"
  ]
  
  PACKAGE_DATA = ["setup/*/assets.yml", "setup/*/*.npy", "setup/*/*.png"]
  
  here = os.path.abspath(os.path.dirname(__file__))
  with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
      long_description = f.read()
  
  setup(
      name="veros",
      license="MIT",
      author="Dion Häfner (NBI Copenhagen)",
      author_email="mail@dionhaefner.de",
      keywords="oceanography python parallel numpy multi-core "
               "geophysics ocean-model bohrium",
      description="The versatile ocean simulator, in pure Python, powered by Bohrium.",
      long_description=long_description,
      url="https://veros.readthedocs.io",
      version=versioneer.get_version(),
      cmdclass=versioneer.get_cmdclass(),
      packages=find_packages(),
      install_requires=INSTALL_REQUIRES,
      extras_require=EXTRAS_REQUIRE,
      entry_points={
          "console_scripts": CONSOLE_SCRIPTS,
      },
      package_data={
          "veros": PACKAGE_DATA
      },
      classifiers=[c for c in CLASSIFIERS.split("\n") if c]
  )
  
subject: add version requirement for requests (#33)