2021-02-25 06:01:40 +00:00
|
|
|
from setuptools import setup, find_namespace_packages
|
2020-03-16 08:50:54 +00:00
|
|
|
|
2021-02-23 14:13:33 +00:00
|
|
|
# pip install "nvidia-pyindex~=1.0.5"
|
|
|
|
|
|
2020-03-18 09:43:21 +00:00
|
|
|
requirements = [
|
2021-06-02 13:17:44 +00:00
|
|
|
# "nemo_toolkit[asr] @ git+https://github.com/NVIDIA/NeMo.git@09e3ba4dfe333f86d6c5c1048e07210924294be9#egg=nemo_toolkit",
|
|
|
|
|
# "fairseq @ git+https://github.com/pytorch/fairseq.git@94a1b924f3adec25c8c508ac112410d02b400d1e#egg=fairseq",
|
2021-02-23 14:13:33 +00:00
|
|
|
# "google-cloud-texttospeech~=1.0.1",
|
2021-06-08 12:15:09 +00:00
|
|
|
"six~=1.16.0",
|
2021-06-02 13:17:44 +00:00
|
|
|
"tqdm~=4.49.0",
|
2021-02-23 14:13:33 +00:00
|
|
|
# "pydub~=0.24.0",
|
|
|
|
|
# "scikit_learn~=0.22.1",
|
|
|
|
|
# "pandas~=1.0.3",
|
|
|
|
|
# "boto3~=1.12.35",
|
|
|
|
|
# "ruamel.yaml~=0.16.10",
|
|
|
|
|
# "pymongo==3.10.1",
|
|
|
|
|
# "matplotlib==3.2.1",
|
|
|
|
|
# "tabulate==0.8.7",
|
|
|
|
|
# "natural==0.2.0",
|
|
|
|
|
# "num2words==0.5.10",
|
|
|
|
|
"typer[all]~=0.3.2",
|
|
|
|
|
# "python-slugify==4.0.0",
|
|
|
|
|
# "websockets==8.1",
|
|
|
|
|
# "lenses @ git+https://github.com/ingolemo/python-lenses.git@b2a2a9aa5b61540992d70b2cf36008d0121e8948#egg=lenses",
|
|
|
|
|
"rpyc~=4.1.4",
|
|
|
|
|
# "streamlit~=0.61.0",
|
|
|
|
|
# "librosa~=0.7.2",
|
|
|
|
|
# "tritonclient[http]~=2.6.0",
|
2021-09-08 17:56:13 +00:00
|
|
|
# "numba~=0.48.0",
|
2020-03-18 09:43:21 +00:00
|
|
|
]
|
|
|
|
|
|
2020-04-08 11:56:27 +00:00
|
|
|
extra_requirements = {
|
|
|
|
|
"data": [
|
|
|
|
|
"pydub~=0.24.0",
|
2021-02-23 14:13:33 +00:00
|
|
|
"google-cloud-texttospeech~=1.0.1",
|
2020-04-08 11:56:27 +00:00
|
|
|
"scikit_learn~=0.22.1",
|
|
|
|
|
"pandas~=1.0.3",
|
|
|
|
|
"boto3~=1.12.35",
|
2021-02-23 14:13:33 +00:00
|
|
|
"ruamel.yaml~=0.16.10",
|
|
|
|
|
"pymongo~=3.10.1",
|
|
|
|
|
"librosa~=0.7.2",
|
|
|
|
|
"matplotlib~=3.2.1",
|
|
|
|
|
"pandas~=1.0.3",
|
|
|
|
|
"tabulate~=0.8.7",
|
|
|
|
|
"natural~=0.2.0",
|
|
|
|
|
"num2words~=0.5.10",
|
|
|
|
|
"python-slugify~=4.0.0",
|
2020-08-06 17:10:14 +00:00
|
|
|
"rpyc~=4.1.4",
|
2021-06-02 13:17:44 +00:00
|
|
|
"webrtcvad~=2.0.10",
|
|
|
|
|
# "datasets"
|
2021-02-23 14:13:33 +00:00
|
|
|
# "lenses @ git+https://github.com/ingolemo/python-lenses.git@b2a2a9aa5b61540992d70b2cf36008d0121e8948#egg=lenses",
|
2020-04-08 11:56:27 +00:00
|
|
|
],
|
2021-06-02 13:17:44 +00:00
|
|
|
"models": [
|
|
|
|
|
# "nemo_toolkit[asr] @ git+https://github.com/NVIDIA/NeMo.git@09e3ba4dfe333f86d6c5c1048e07210924294be9#egg=nemo_toolkit",
|
|
|
|
|
"nemo_toolkit[asr] @ git+https://github.com/NVIDIA/NeMo.git@v1.0.0#egg=nemo_toolkit",
|
|
|
|
|
"fairseq @ git+https://github.com/pytorch/fairseq.git@94a1b924f3adec25c8c508ac112410d02b400d1e#egg=fairseq",
|
|
|
|
|
"transformers~=4.5.0",
|
|
|
|
|
"torch~=1.7.0",
|
|
|
|
|
"torchvision~=0.8.2",
|
|
|
|
|
"torchaudio~=0.7.2",
|
|
|
|
|
],
|
2021-06-08 12:15:09 +00:00
|
|
|
"infer": [
|
2021-06-02 13:17:44 +00:00
|
|
|
"jiwer~=2.2.0",
|
|
|
|
|
"pydub~=0.24.0",
|
|
|
|
|
"tritonclient[grpc]~=2.9.0",
|
|
|
|
|
"pyspellchecker~=0.6.2",
|
|
|
|
|
"num2words~=0.5.10",
|
2021-06-08 12:15:09 +00:00
|
|
|
"pydub~=0.24.0",
|
2021-09-08 17:56:13 +00:00
|
|
|
"pyaudio~=0.2.11",
|
2021-06-02 13:17:44 +00:00
|
|
|
],
|
2021-06-08 12:15:09 +00:00
|
|
|
"infer_min": [
|
2021-06-02 13:17:44 +00:00
|
|
|
"pyspellchecker~=0.6.2",
|
|
|
|
|
"num2words~=0.5.10",
|
|
|
|
|
],
|
2020-04-08 11:56:27 +00:00
|
|
|
"validation": [
|
2021-02-23 14:13:33 +00:00
|
|
|
"pymongo~=3.10.1",
|
|
|
|
|
"matplotlib~=3.2.1",
|
2020-04-08 11:56:27 +00:00
|
|
|
"pydub~=0.24.0",
|
2021-10-23 20:02:15 +00:00
|
|
|
"streamlit~=1.0.0",
|
2021-02-23 14:13:33 +00:00
|
|
|
"natural~=0.2.0",
|
|
|
|
|
"stringcase~=1.2.0",
|
2020-04-08 11:56:27 +00:00
|
|
|
"google-cloud-speech~=1.3.1",
|
2021-02-23 14:13:33 +00:00
|
|
|
],
|
2021-03-23 07:57:35 +00:00
|
|
|
"ui": [
|
2021-08-16 12:32:26 +00:00
|
|
|
"pyspellchecker~=0.6.2",
|
|
|
|
|
"google-cloud-texttospeech~=1.0.1",
|
2021-03-23 07:57:35 +00:00
|
|
|
"rangehttpserver~=1.2.0",
|
2021-10-23 20:02:15 +00:00
|
|
|
"streamlit~=1.0.0",
|
|
|
|
|
],
|
|
|
|
|
"dev": [
|
|
|
|
|
"jupyterlab~=3.1.18",
|
|
|
|
|
"ipykernel~=6.4.1",
|
2021-03-23 07:57:35 +00:00
|
|
|
],
|
2021-06-02 13:17:44 +00:00
|
|
|
"crypto": ["cryptography~=3.4.7"],
|
2021-02-23 14:13:33 +00:00
|
|
|
"train": ["torchaudio~=0.6.0", "torch-stft~=0.1.4"],
|
2020-04-08 11:56:27 +00:00
|
|
|
}
|
2021-06-02 13:17:44 +00:00
|
|
|
extra_requirements["deploy"] = (
|
2021-06-08 12:15:09 +00:00
|
|
|
extra_requirements["models"] + extra_requirements["infer_min"]
|
2021-06-02 13:17:44 +00:00
|
|
|
)
|
|
|
|
|
extra_requirements["all"] = list(
|
|
|
|
|
{d for r in extra_requirements.values() for d in r}
|
|
|
|
|
)
|
|
|
|
|
packages = find_namespace_packages("src")
|
2020-03-18 09:43:21 +00:00
|
|
|
|
2020-03-16 08:50:54 +00:00
|
|
|
setup(
|
2021-02-23 14:13:33 +00:00
|
|
|
name="plume-asr",
|
2021-06-02 13:17:44 +00:00
|
|
|
version="0.2.1",
|
2021-02-23 14:13:33 +00:00
|
|
|
description="Multi model ASR base package",
|
|
|
|
|
url="http://github.com/malarinv/plume-asr",
|
2020-03-16 08:50:54 +00:00
|
|
|
author="Malar Kannan",
|
|
|
|
|
author_email="malarkannan.invention@gmail.com",
|
|
|
|
|
license="MIT",
|
2020-03-18 09:43:21 +00:00
|
|
|
install_requires=requirements,
|
|
|
|
|
extras_require=extra_requirements,
|
2020-04-08 11:56:27 +00:00
|
|
|
packages=packages,
|
2021-06-02 13:17:44 +00:00
|
|
|
package_dir={"": "src"},
|
2021-02-23 14:13:33 +00:00
|
|
|
entry_points={"console_scripts": ["plume = plume.cli:main"]},
|
2020-03-16 08:50:54 +00:00
|
|
|
zip_safe=False,
|
|
|
|
|
)
|