forked from oscarescuderoarnanz/dtwParallel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (61 loc) · 2.14 KB
/
setup.py
File metadata and controls
70 lines (61 loc) · 2.14 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
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import pathlib
import codecs
import os.path
from setuptools import setup
import re
# The directory containing this file
#HERE = pathlib.Path(__file__).resolve().parent
# The text of the README file is used as a description
#README = (HERE / "README.md").read_text()
here = os.path.abspath(os.path.dirname(__file__))
readme_md = os.path.join(here, 'README.md')
version_py = os.path.join(here, 'dtwParallel', '_version.py')
# Get the package description from the README.md file
with codecs.open(readme_md, encoding='utf-8') as f:
long_description = f.read()
with codecs.open(version_py, 'r', encoding='utf-8') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
# This call to setup() does all the work
setup(
name="dtwParallel",
version=version,
description="Python implementation of Dynamic Time Warping (DTW), which allows computing the dtw distance between one-dimensional and multidimensional time series, with the possibility of visualisation (one-dimensional case) and parallelisation (multidimensional case).",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/oscarescuderoarnanz/dtwParallel",
author="oscarescuderoarnanz",
author_email="escuderoarnanzoscar@gmail.com",
license="BSD 2-clauses",
packages=[
"dtwParallel"
],
namespace_packages=[
"dtwParallel",
],
keywords="Dynamic Time Warping Parallelization Visualisation Distance",
classifiers=[
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3'
],
include_package_data = True,
package_data = {
# If any package contains *.ini files, include them
'': ['*.ini'],
},
py_modules={
"utils",
"dtw_functions",
"error_control",
"utils_visualizations"
},
entry_points={
'console_scripts': [
'dtwParallel=dtwParallel.dtwParallel:main'
]
}
)