forked from soundata/soundata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (60 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
""" Setup script for sound_datasets. """
from importlib.machinery import SourceFileLoader
from setuptools import setup, find_packages
version_sfl = SourceFileLoader("soundata.version", "soundata/version.py")
version_module = version_sfl.load_module()
with open("README.md", "r") as fdesc:
long_description = fdesc.read()
if __name__ == "__main__":
setup(
name="soundata",
version=version_module.version,
description="Python library for loading and working with sound datasets.",
url="https://github.com/soundata/soundata",
packages=find_packages(exclude=["test", "*.test", "*.test.*"]),
download_url="http://github.com/soundata/soundata/releases",
package_data={"soundata": ["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",
"Programming Language :: Python :: 3.8"
],
keywords="sound dataset loader audio",
license="BSD-3-Clause",
install_requires=[
"tqdm",
"librosa >= 0.8.0",
"numpy>=1.16, <=1.20",
"jams",
"requests",
"pandas"
],
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",
"black>=21.9b0",
],
"docs": [
"docutils==0.16",
"numpydoc",
"recommonmark",
"sphinx>=3.4.0",
"sphinxcontrib-napoleon",
"sphinx_rtd_theme",
],
},
)