forked from CSchoel/nolds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
76 lines (68 loc) · 2.12 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- 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.0"
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="[email protected]",
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==2.0", "future", "setuptools"],
extras_require={
"RANSAC": ["sklearn>=0.19"],
"qrandom": ["quantumrandom"],
"plots": ["matplotlib"],
},
cmdclass={"clean": CleanCommand},
include_package_data=True,
)