from setuptools import setup
from os import path

try:
    from pypandoc import convert
    read_md = lambda f: convert(f, 'rst')
except ImportError:
    print("warning: pypandoc module not found, could not convert Markdown to RST")
    read_md = lambda f: open(f, 'r').read()
    
setup( name = 'Signal_Analysis',
      version='0.1.19',
      description = 'Determines different characteristics of signals.',
      long_description = "" if not path.isfile("README.md") else read_md('README.md'),
      author = 'Brooke V Mosby',
      author_email = 'brooke.mosby.byu@gmail.com',
      url='https://github.com/brookemosby/Speech_Analysis',
      license='MIT',
      setup_requires = [ 'pytest-runner' ],
      tests_require = [ 'pytest', 'python-coveralls' ],
      install_requires = [
          "numpy",
          "peakutils"
      ],
      packages = [ 'Signal_Analysis','Signal_Analysis.features' ] ,
      include_package_data = True,
      scripts = [],
              
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Other Audience',
          'Natural Language :: English',
          'Operating System :: MacOS',
          'Operating System :: Microsoft :: Windows',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.5',
      ],
)