# -*- coding: utf-8 -*-

import io
import pip
from setuptools import setup

pip.main(['install','numpy'])

try:
    long_description = io.open('README.txt',encoding='utf8').read()
except:
    long_description ='Package containing the tools necessary for decomposing a \
            speech signal into its modulated components, aka AM-FM decomposition.'

setup(
    name = 'AMFM_decompy',
    version = '1.0.7',
    author = 'Bernardo J.B. Schmitt',
    author_email = 'bernardo.jb.schmitt@gmail.com',
    packages = ['amfm_decompy'],
    scripts = ['bin/AMFM_test.py'],
    package_data = {'amfm_decompy': ['*.wav']},
    install_requires = ['numpy', 'scipy',],
    url = 'https://github.com/bjbschmitt/AMFM_decompy/',
    license = 'LICENSE.txt',
    description = 'Package containing the tools necessary for decomposing a \
speech signal into its modulated components, aka AM-FM decomposition.',
    long_description = long_description,
    classifiers = [
                'License :: OSI Approved :: MIT License',
                'Programming Language :: Python :: 2.7',
                'Programming Language :: Python :: 3.5',
                'Topic :: Scientific/Engineering',
                'Topic :: Scientific/Engineering :: Human Machine Interfaces',
                'Topic :: Scientific/Engineering :: Information Analysis',
                'Topic :: Software Development :: Libraries :: Python Modules',
                ],
    keywords = 'Python, speech, pitch, QHM, YAAPT, modulated components, \
                AM-FM decomposition',
    zip_safe = False,
    include_package_data = True,
)
