-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
65 lines (58 loc) · 2.08 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
# -*- coding:utf-8 -*-
# @FileName :setpy.py.py
# @Time :2023/8/8 21: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",
"jieba",
],
"setup": [
"numpy==1.24.2",
],
"all": [],
}
requirements["all"].extend(requirements["install"])
install_requires = requirements["install"]
setup_requires = requirements["setup"]
setup(
name="paraformer-python",
version=version,
url="https://github.com/lovemefan/paraformer-online-python",
author="Lovemefan, Yunnan Key Laboratory of Artificial Intelligence, "
"Kunming University of Science and Technology, Kunming, Yunnan ",
author_email="[email protected]",
description="paraformer-online: A enterprise-grade open source chinese asr system 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 :: MIT License",
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)