# -*- coding: utf-8 -*- from setuptools import setup, Command import shutil import io class CleanCommand(Command): """Custom clean command to tidy up the project root.""" user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): shutil.rmtree("build") shutil.rmtree("dist") shutil.rmtree("nolds.egg-info") with io.open("README.rst", "r", encoding="utf-8") as f: readme = f.read() version = '0.6.2' setup( name='nolds', packages=['nolds'], version=version, platforms="any", license="MIT", description='Nonlinear measures for dynamical systems ' + '(based on one-dimensional time series)', long_description=readme, author='Christopher Schölzel', author_email='christopher.schoelzel@gmx.net', url='https://github.com/CSchoel/nolds', download_url='https://github.com/CSchoel/nolds/tarball/' + version, keywords=[ 'nonlinear', 'dynamical system', 'chaos', 'lyapunov', 'hurst', 'hurst exponent', 'rescaled range', 'DFA', 'detrended fluctuation analysis', 'sample entropy', 'correlation dimension'], classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Topic :: Scientific/Engineering :: Bio-Informatics', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7' ], test_suite='nolds.test_measures', install_requires=[ 'numpy>1.0,<3.0', 'future', 'setuptools' ], extras_require={ 'RANSAC': ['scikit-learn>=0.19'], 'qrandom': ['quantumrandom'], 'plots': ['matplotlib'] }, cmdclass={ 'clean': CleanCommand }, include_package_data=True )