forked from j-bernardi/psds_eval
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
34 lines (28 loc) · 968 Bytes
/
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
"""
setup.py for the psds package
"""
import os
import setuptools
def package_file(fname):
return os.path.relpath(os.path.join(os.path.dirname(__file__), fname))
__version__ = None
# Get the version number from the version file
with open(package_file("src/psds_eval/version.py")) as fp:
exec(fp.read())
assert __version__ is not None
setuptools.setup(
name="psds_eval",
version=__version__,
description="A module to calculate Polyphonic Sound Detection Score",
license="MIT",
keywords="polyphonic sound detection evaluation score",
long_description=open(package_file("README.md")).read(),
long_description_content_type='text/markdown',
python_requires=">=3.6",
package_dir={"": package_file("src")},
packages=setuptools.find_packages(package_file("src")),
install_requires=["pandas>=0.19",
"numpy>=1.9.0",
"matplotlib>=3.1.0",
"pytest>=4.3"]
)