forked from GAA-UAM/scikit-fda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
80 lines (70 loc) · 2.71 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
77
78
79
80
# encoding: utf-8
"""
Functional Data Analysis Python package.
Functional Data Analysis, or FDA, is the field of Statistics that analyses
data that depend on a continuous parameter.
This package offers classes, methods and functions to give support to FDA
in Python. Includes a wide range of utils to work with functional data, and its
representation, exploratory analysis, or preprocessing, among other tasks
such as inference, classification, regression or clustering of functional data.
See documentation or visit the
`github page <https://github.com/GAA-UAM/scikit-fda>`_ of the project for
further information on the features included in the package.
The documentation is available at
`fda.readthedocs.io/en/stable/ <https://fda.readthedocs.io/en/stable/>`_, which
includes detailed information of the different modules, classes and methods of
the package, along with several examples showing different funcionalities.
"""
import os
import sys
from setuptools import find_packages, setup
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
DOCLINES = (__doc__ or '').split("\n")
with open(os.path.join(os.path.dirname(__file__),
'VERSION'), 'r') as version_file:
version = version_file.read().strip()
setup(name='scikit-fda',
version=version,
description=DOCLINES[1],
long_description="\n".join(DOCLINES[3:]),
url='https://fda.readthedocs.io',
maintainer='Carlos Ramos Carreño',
maintainer_email='[email protected]',
include_package_data=True,
platforms=['any'],
license='BSD',
packages=find_packages(),
python_requires='>=3.7, <4',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
'cython',
'dcor',
'fdasrsf>=2.2.0',
'findiff',
'matplotlib',
'mpldatacursor',
'multimethod>=1.5',
'numpy>=1.16',
'pandas',
'rdata',
'scikit-datasets[cran]>=0.1.24',
'scikit-learn>=0.20',
'scipy>=1.3.0',
'typing-extensions',
],
setup_requires=pytest_runner,
tests_require=['pytest'],
test_suite='tests',
zip_safe=False)