-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
79 lines (70 loc) · 2.45 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
#!/usr/bin/env python3
# Copyright (c) Earth Species Project. This work is based on Facebook's denoiser.
from pathlib import Path
from setuptools import setup, find_packages
NAME = 'biodenoising_inference'
DESCRIPTION = (
'Animal vocalization denoising.'
' Supports offline and streaming denoising.'
' Animal-domain fork of Facebook speech denoiser https://github.com/facebookresearch/denoiser.'
' For training, please use the github training repository.')
URL = 'https://github.com/earthspecies/biodenoising-inference-internal'
EMAIL = 'info@mariusmiron.com'
AUTHOR = 'Marius Miron'
REQUIRES_PYTHON = '>=3.8.0'
VERSION = "0.1.0"
HERE = Path(__file__).parent
REQUIRED = [
'julius',
'numpy>=1.19',
'six',
'sounddevice>=0.4',
'torch>=1.5',
'torchaudio>=0.5',
'openunmix',
'einops',
'omegaconf==1.4.1',
'noisereduce'
]
REQUIRED_LINKS = [
]
try:
with open(HERE / "README.md", encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=['biodenoising','biodenoising.denoiser'],
install_requires=REQUIRED,
dependency_link=REQUIRED_LINKS,
include_package_data=True,
license='Creative Commons Attribution-NonCommercial 4.0 International',
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)