-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
61 lines (55 loc) · 2.05 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
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='http://github.com/marl/jams',
download_url='http://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 :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8"
],
keywords='audio music json',
license='ISC',
install_requires=[
'pandas',
'sortedcontainers>=2.0.0',
'pyrsistent<0.15; python_version=="3.4"',
'jsonschema>=3.0.0',
'numpy>=1.8.0',
'six',
'decorator',
'mir_eval>=0.5',
],
extras_require={
'display': ['matplotlib>=1.5.0'],
'tests': ['pytest < 4', 'pytest-cov'],
},
scripts=['scripts/jams_to_lab.py']
)