old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from os.path import dirname, realpath, exists
  from setuptools import setup
  import sys
  
  
  author = u"Paul Müller"
  authors = [author]
  name = 'qpimage'
  description = 'Python3 library for handling quantitative phase imaging data'
  year = "2017"
  
  sys.path.insert(0, realpath(dirname(__file__))+"/"+name)
  from _version import version
  
  if __name__ == "__main__":
      setup(
          name=name,
          author=author,
          author_email='dev@craban.de',
          url='https://github.com/RI-imaging/qpimage',
          version=version,
          packages=[name],
          package_dir={name: name},
          license="MIT",
          description=description,
          long_description=open('README.rst').read() if exists('README.rst') else '',
          install_requires=["nrefocus >= 0.1.5",
                            "NumPy >= 1.9.0",
                            "scikit-image >= 0.11.0",
                            "scipy >= 0.18.0",
                            ],
          setup_requires=['pytest-runner'],
          tests_require=["pytest"],
          python_requires='>=3.5, <4',
          keywords=["digital holographic microscopy",
                    "optics",
                    "quantitative phase imaging",
                    "refractive index",
                    "scattering",
                    ],
          classifiers= [
              'Operating System :: OS Independent',
              'Programming Language :: Python :: 3',
              'Intended Audience :: Science/Research'
                       ],
          platforms=['ALL'],
          )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from os.path import dirname, realpath, exists
  from setuptools import setup
  import sys
  
  
  author = u"Paul Müller"
  authors = [author]
  name = 'qpimage'
  description = 'Python3 library for handling quantitative phase imaging data'
  year = "2017"
  
  sys.path.insert(0, realpath(dirname(__file__))+"/"+name)
  from _version import version
  
  if __name__ == "__main__":
      setup(
          name=name,
          author=author,
          author_email='dev@craban.de',
          url='https://github.com/RI-imaging/qpimage',
          version=version,
          packages=[name],
          package_dir={name: name},
          license="MIT",
          description=description,
          long_description=open('README.rst').read() if exists('README.rst') else '',
          install_requires=["h5py",
                            "nrefocus >= 0.1.5",
                            "NumPy >= 1.9.0",
                            "scikit-image >= 0.11.0",
                            "scipy >= 0.18.0",
                            ],
          setup_requires=['pytest-runner'],
          tests_require=["pytest"],
          python_requires='>=3.5, <4',
          keywords=["digital holographic microscopy",
                    "optics",
                    "quantitative phase imaging",
                    "refractive index",
                    "scattering",
                    ],
          classifiers= [
              'Operating System :: OS Independent',
              'Programming Language :: Python :: 3',
              'Intended Audience :: Science/Research'
                       ],
          platforms=['ALL'],
          )
  
subject: add h5py dependency