-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
87 lines (85 loc) · 2.19 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
81
82
83
84
85
86
87
"""Setup script for PyPI package"""
import setuptools
with open("README.md", mode="r", encoding="utf-8") as f:
readme = f.read()
with open("sample/__init__.py", mode="r", encoding="utf-8") as f:
version = f.read().split("__version__ = \"", 1)[-1].split("\"", 1)[0]
setuptools.setup(
name="lim-sample",
version=version,
author="Marco Tiraboschi",
author_email="[email protected]",
maintainer="Marco Tiraboschi",
maintainer_email="[email protected]",
description="Package for the SAMPLE method",
long_description=readme,
long_description_content_type="text/markdown",
url="https://github.com/limunimi/sample",
packages=setuptools.find_packages(include=["sample", "sample.*"]),
include_package_data=True,
setup_requires=[
"wheel",
],
install_requires=[
"chromatictools",
"numpy",
"paragraph",
"scikit-learn",
"scikit-optimize",
"scipy",
"tqdm",
],
extras_require={
"gui": [
"ttkthemes",
"pygame",
"matplotlib",
"Pillow",
"throttle",
],
"plots": [
"matplotlib",
"Pillow",
],
"notebooks": [
"ipython",
"jupyter",
"matplotlib",
"more-itertools",
"requests",
],
"scripts-beatsdrop": [
"matplotlib",
"autorank",
"pandas",
"emd",
"spectrum",
"throttle",
],
"scripts-cim22": ["matplotlib",],
"test": [
"ipython",
"cython",
"more-itertools",
],
"docs": [
"sphinx",
"sphinx_rtd_theme",
"m2r2",
"recommonmark",
],
"style": [
"pylint",
"yapf",
],
"cov": ["coverage",],
"packaging": ["twine",],
"installer": ["pyinstaller",]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)