File size: 1,827 Bytes
a2143bc | 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 | #!/usr/bin/env python3
import os
# Always prefer setuptools over distutils
import sys
from setuptools import find_packages, setup
long_description = open("README.md", "r", encoding="utf-8").read()
setup(
name="heareval",
description="Holistic Evaluation of Audio Representations (HEAR) 2021 -- Evaluation Kit",
author="",
author_email="",
url="https://github.com/hearbenchmark/hear-eval-kit",
download_url="https://github.com/hearbenchmark/hear-eval-kit",
license="Apache-2.0",
long_description=long_description,
long_description_content_type="text/markdown",
project_urls={
"Bug Tracker": "https://github.com/hearbenchmark/hear-eval-kit/issues",
"Source Code": "https://github.com/hearbenchmark/hear-eval-kit",
},
packages=find_packages(exclude=("tests",)),
python_requires=">=3.7",
install_requires=[
"click",
"dcase_util",
"intervaltree",
"more-itertools",
# for tf 2.6.0
"numpy==1.19.2",
"pandas",
"pynvml",
"pytorch-lightning>=1.6",
"python-slugify",
"sed_eval",
"soundfile",
"spotty",
"tensorflow>=2.0",
"torch",
"torchinfo",
"tqdm",
# "wandb",
"scikit-learn>=0.24.2",
# otherwise librosa breaks, which fucking dcase-util requires
"numba==0.48",
# "numba>=0.49.0", # 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",
],
},
classifiers=[],
)
|