-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathsetup.py
89 lines (74 loc) · 2.39 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import setuptools
from importlib.machinery import SourceFileLoader
version = SourceFileLoader(
'museval.version', 'museval/version.py'
).load_module()
with open('README.md', 'r') as fdesc:
long_description = fdesc.read()
if __name__ == "__main__":
setuptools.setup(
# Name of the project
name='museval',
# Version
version=version._version,
# Description
description='Evaluation tools for the SIGSEP MUS database',
url='https://github.com/sigsep/sigsep-mus-eval',
# Your contact information
author='Fabian-Robert Stoeter',
author_email='[email protected]',
# License
license='MIT',
# Packages in this project
# find_packages() finds all these automatically for you
packages=setuptools.find_packages(),
long_description=long_description,
long_description_content_type='text/markdown',
entry_points={
'console_scripts': [
'museval=museval.cli:museval',
'bsseval=museval.cli:bsseval'
],
},
# Dependencies, this installs the entire Python scientific
# computations stack
install_requires=[
'musdb>=0.4.0',
'pandas>=1.0.1',
'numpy',
'scipy',
'simplejson>=3.19.0',
'soundfile',
'jsonschema'
],
package_data={
'museval': ['musdb.schema.json'],
},
extras_require={ # Optional
'dev': ['check-manifest'],
'tests': ['pytest'],
'docs': [
'sphinx',
'sphinx_rtd_theme',
'recommonmark',
'numpydoc'
],
},
tests_require=[
'pytest',
'pytest-cov',
'coverage>=4.4'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Plugins',
'Intended Audience :: Telecommunications Industry',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Multimedia :: Sound/Audio :: Sound Synthesis'
],
zip_safe=False,
)