forked from mir-dataset-loaders/mirdata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (58 loc) · 2.11 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
""" 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",
],
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",
],
"docs": [
"numpydoc",
"recommonmark",
"sphinx>=3.4.0",
"sphinxcontrib-napoleon",
"sphinx_rtd_theme",
],
"dali": ["dali-dataset==1.1"],
},
)