# 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.md"), encoding='utf-8').read(),
    long_description_content_type="text/markdown",
    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.14.1',
                      'pandas>=0.22.0',
                      'numpy',
                      'scipy',
                      'python-dateutil',
                      'seaborn>=0.9.0',
                      'matplotlib>=2.1.0',
                      'nanoget>=1.9.0',
                      'nanomath>=0.23.1',
                      "pauvre==0.1.86",
                      "statsmodels==0.10.1",
                      'plotly>=3.4.2',
                      ],
    package_data={'NanoPlot': []},
    package_dir={'nanoplot': 'nanoplot'},
    include_package_data=True,
    entry_points={
        'console_scripts': [
            'NanoPlot=nanoplot.NanoPlot:main',
        ],
    },
)

# 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.md"), encoding='utf-8').read(),
    long_description_content_type="text/markdown",
    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>=0.9.0',
                      'matplotlib>=2.1.0',
                      'nanoget>=1.9.0',
                      'nanomath>=0.23.1',
                      "pauvre==0.1.86",
                      "statsmodels==0.10.1",
                      'plotly>=3.4.2',
                      ],
    package_data={'NanoPlot': []},
    package_dir={'nanoplot': 'nanoplot'},
    include_package_data=True,
    entry_points={
        'console_scripts': [
            'NanoPlot=nanoplot.NanoPlot:main',
        ],
    },
)

revert pinning pysam