-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (51 loc) · 2.25 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (51 loc) · 2.25 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import numpy
# --------------------
with open('README.rst') as readme_file:
readme_rst = readme_file.read()
setup(
author="Toni Giorgino",
author_email='toni.giorgino@gmail.com',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
description="A comprehensive implementation of dynamic time warping (DTW) algorithms. DTW computes the optimal (least cumulative distance) alignment between points of two time series. Common DTW variants covered include local (slope) and global (window) constraints, subsequence matches, arbitrary distance definitions, normalizations, minimum variance matching, and so on. Provides cumulative distances, alignments, specialized plot styles, etc.",
entry_points={
'console_scripts': [
'dtw=dtw.__main__:main',
],
},
install_requires=['numpy>=1.19', 'scipy>=1.1'],
# setup_requires=['cython', 'numpy'], # In principle deprecated for toml, but actually used by sdist
tests_require=["pytest"], # Obsolete
python_requires='>=3.6',
license="GNU General Public License v3",
long_description=readme_rst,
long_description_content_type="text/x-rst",
include_package_data=True,
keywords=['dtw', 'timeseries'],
name='dtw-python',
# packages=find_packages(include=['dtw']),
packages=['dtw'],
package_data={'dtw': ['data/*.csv']},
include_dirs=numpy.get_include(),
ext_modules=cythonize([Extension('dtw._dtw_utils',
sources=['dtw/_dtw_utils.pyx', 'dtw/dtw_core.c'])]),
url='https://DynamicTimeWarping.github.io',
version='1.2.3',
zip_safe=False,
)