-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
59 lines (53 loc) · 1.96 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
from setuptools import setup, find_packages
import importlib.util
import importlib.machinery
def load_source(modname, filename):
loader = importlib.machinery.SourceFileLoader(modname, filename)
spec = importlib.util.spec_from_file_location(modname, filename, loader=loader)
module = importlib.util.module_from_spec(spec)
loader.exec_module(module)
return module
version = load_source('jams.version', 'jams/version.py')
setup(
name='jams',
version=version.version,
description='A JSON Annotated Music Specification for Reproducible MIR Research',
author='JAMS development crew',
url='https://github.com/marl/jams',
download_url='https://github.com/marl/jams/releases',
packages=find_packages(),
package_data={'': ['schemata/*.json',
'schemata/namespaces/*.json',
'schemata/namespaces/*/*.json']},
long_description='A JSON Annotated Music Specification for Reproducible MIR Research',
classifiers=[
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
python_requires=">=3.9",
keywords='audio music json',
license='ISC',
install_requires=[
'pandas',
'sortedcontainers>=2.0.0',
'jsonschema>=3.0.0',
'numpy>=1.8.0',
'six',
'decorator',
'mir_eval>0.7',
],
extras_require={
'display': ['matplotlib>=1.5.0'],
'tests': ['pytest ~= 8.0', 'pytest-cov', 'matplotlib>=3'],
},
scripts=['scripts/jams_to_lab.py']
)