old_contents: # Always prefer setuptools over distutils
  from setuptools import setup, find_packages
  # To use a consistent encoding
  from codecs import open
  from os import path
  
  here = path.abspath(path.dirname(__file__))
  exec(open('nanoplot/version.py').read())
  
  setup(
      name='NanoPlot',
      version=__version__,
      description='Plotting suite for Oxford Nanopore sequencing data and alignments',
      long_description=open(path.join(here, "README.rst")).read(),
      url='https://github.com/wdecoster/NanoPlot',
      author='Wouter De Coster',
      author_email='decosterwouter@gmail.com',
      license='MIT',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Science/Research',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
      ],
      keywords='nanopore sequencing plotting quality control',
      packages=find_packages() + ['extra', 'scripts'],
      python_requires='>=3',
      install_requires=['biopython',
                        'pysam>0.10.0.0',
                        'pandas>=0.22.0',
                        'numpy',
                        'scipy',
                        'python-dateutil',
                        'seaborn',
                        'nanoplotter>=0.30.1',
                        'nanoget>=1.4.0',
                        'nanomath>=0.17.0'
                        ],
      package_data={'NanoPlot': []},
      package_dir={'nanoplot': 'nanoplot'},
      include_package_data=True,
      entry_points={
          'console_scripts': [
              'NanoPlot=nanoplot.NanoPlot:main',
          ],
      },
  )
  
new_contents: # Always prefer setuptools over distutils
  from setuptools import setup, find_packages
  # To use a consistent encoding
  from codecs import open
  from os import path
  
  here = path.abspath(path.dirname(__file__))
  exec(open('nanoplot/version.py').read())
  
  setup(
      name='NanoPlot',
      version=__version__,
      description='Plotting suite for Oxford Nanopore sequencing data and alignments',
      long_description=open(path.join(here, "README.rst")).read(),
      url='https://github.com/wdecoster/NanoPlot',
      author='Wouter De Coster',
      author_email='decosterwouter@gmail.com',
      license='MIT',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Science/Research',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
      ],
      keywords='nanopore sequencing plotting quality control',
      packages=find_packages() + ['extra', 'scripts'],
      python_requires='>=3',
      install_requires=['biopython',
                        'pysam>0.10.0.0',
                        'pandas>=0.22.0',
                        'numpy',
                        'scipy',
                        'python-dateutil',
                        'seaborn',
                        'nanoplotter>=0.30.1',
                        'nanoget>=1.4.0',
                        'nanomath>=0.18.1'
                        ],
      package_data={'NanoPlot': []},
      package_dir={'nanoplot': 'nanoplot'},
      include_package_data=True,
      entry_points={
          'console_scripts': [
              'NanoPlot=nanoplot.NanoPlot:main',
          ],
      },
  )
  
subject: make dependent on latest nanomath, which contains a bug fix