forked from mir-dataset-loaders/mirdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
74 lines (71 loc) · 2.54 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
""" Setup script for mir_datasets. """
from importlib.machinery import SourceFileLoader
from setuptools import setup, find_packages
version_sfl = SourceFileLoader("mirdata.version", "mirdata/version.py")
version_module = version_sfl.load_module()
with open("README.md", "r") as fdesc:
long_description = fdesc.read()
if __name__ == "__main__":
setup(
name="mirdata",
version=version_module.version,
description="Common loaders for MIR datasets.",
url="https://github.com/mir-dataset-loaders/mirdata",
packages=find_packages(exclude=["test", "*.test", "*.test.*"]),
download_url="http://github.com/mir-dataset-loaders/mirdata/releases",
package_data={"mirdata": ["datasets/indexes/*"]},
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords="mir dataset loader audio",
license="BSD-3-Clause",
install_requires=[
"tqdm",
"librosa >= 0.8.0",
"numpy>=1.16",
"jams",
"requests",
"pretty_midi >= 0.2.8",
"chardet",
"pyyaml",
"scipy",
"h5py >= 2.10.0",
"smart_open >= 5.0.0",
"Deprecated >= 1.2.13",
],
extras_require={
"tests": [
"pytest>=4.4.0",
"pytest-cov>=2.6.1",
"pytest-pep8>=1.0.0",
"pytest-mock>=1.10.1",
"pytest-localserver>=0.5.0",
"testcontainers>=2.3",
"future==0.17.1",
"coveralls>=1.7.0",
"types-PyYAML",
"types-chardet",
"smart_open[all] >= 5.0.0",
],
"docs": [
"numpydoc",
"recommonmark",
"sphinx>=3.4.0",
"sphinxcontrib-napoleon",
"sphinx_rtd_theme",
],
"dali": ["dali-dataset==1.1"],
"haydn_op20": ["music21==6.7.1"],
"gcs": ["smart_open[gcs]"],
"s3": ["smart_open[s3]"],
"http": ["smart_open[http]"],
},
)