-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
57 lines (50 loc) · 1.45 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
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
# meta info
NAME = "dtwalign"
VERSION = "0.1.1"
AUTHOR = "Takehiro Suzuki"
AUTHOR_EMAIL = ""
URL = "https://github.com/statefb/dtwalign"
DESCRIPTION = "Comprehensive DTW package which enables partial mathing and has various constraint options"
LICENSE = "MIT"
if not os.path.exists("README.txt"):
os.system("pandoc -o README.txt README.md")
LONG_DESCRIPTION = open("README.txt").read()
def main():
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
zip_safe=False,
include_package_data=True,
packages=find_packages(),
install_requires=[
"numpy",
"matplotlib",
"seaborn >= 0.8.1",
"networkx",
"numba >= 0.34.0",
"scipy",
],
dependency_links=[],
tests_require=[
"rpy2",
],
setup_requires=[],
license=LICENSE,
test_suite="tests",
classifiers=[
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
],
)
if __name__ == "__main__":
main()