-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
53 lines (51 loc) · 1.6 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
#!/usr/bin/env python3
from setuptools import find_packages, setup
long_description = open("README.md", "r").read()
setup(
name="hearbaseline",
description="Holistic Evaluation of Audio Representations (HEAR) 2021 -- Baseline Model",
author="HEAR 2021 NeurIPS Competition Committee",
author_email="[email protected]",
url="https://github.com/hearbenchmark/hear-baseline",
license="Apache-2.0",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Bug Tracker": "https://github.com/hearbenchmark/hear-baseline/issues",
"Source Code": "https://github.com/hearbenchmark/hear-baseline",
},
packages=find_packages(exclude=("tests",)),
python_requires=">=3.7",
install_requires=[
"librosa",
# otherwise librosa breaks
"numba==0.48",
# tf 2.6.0
"numpy==1.19.2",
"tensorflow>=2.0",
"torch",
# For wav2vec2 model
"speechbrain",
"transformers",
"torchcrepe",
"torchopenl3",
# otherwise librosa breaks
"numba==0.48",
# "numba>=0.49.0", # not directly required, pinned by Snyk to avoid a vulnerability
"scikit-learn>=0.24.2", # not directly required, pinned by Snyk to avoid a vulnerability
],
extras_require={
"test": [
"pytest",
"pytest-cov",
"pytest-env",
],
"dev": [
"pre-commit",
"black", # Used in pre-commit hooks
"pytest",
"pytest-cov",
"pytest-env",
],
},
)