-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
63 lines (57 loc) · 2.06 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
# -*- coding:utf-8 -*-
# @FileName :setup.py
# @Time :2023/4/4 11:22
# @Author :lovemefan
# @Email :[email protected]
import os
from pathlib import Path
from setuptools import find_namespace_packages, setup
dirname = Path(os.path.dirname(__file__))
version_file = dirname / "version.txt"
with open(version_file, "r") as f:
version = f.read().strip()
requirements = {
"install": [
"setuptools<=65.0",
"kaldi_native_fbank",
"PyYAML",
"onnxruntime==1.14.1",
],
"setup": [
"numpy==1.24.2",
],
"all": [],
}
requirements["all"].extend(requirements["install"])
install_requires = requirements["install"]
setup_requires = requirements["setup"]
setup(
name="fsmnvad",
version=version,
url="https://github.com/lovemefan/fsmn-vad",
author="Lovemefan, Yunnan Key Laboratory of Artificial Intelligence, "
"Kunming University of Science and Technology, Kunming, Yunnan ",
author_email="[email protected]",
description="Fsmn-vad: A enterprise-grade Voice Activity Detector (VAD) based on FSMN from modelscope opensource",
long_description=open(os.path.join(dirname, "README.md"), encoding="utf-8").read(),
long_description_content_type="text/markdown",
license="The MIT License",
packages=find_namespace_packages(),
include_package_data=True,
install_requires=install_requires,
python_requires=">=3.7.0",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)