|
3 | 3 | # @Time :2024/7/19 09:23 |
4 | 4 | # @Author :lovemefan |
5 | 5 | # @Email :lovemefan@outlook.com |
| 6 | +from setuptools import setup |
6 | 7 |
|
7 | | - |
8 | | -import os |
9 | | -from pathlib import Path |
10 | | - |
11 | | -from setuptools import find_namespace_packages, setup |
12 | | - |
13 | | -dirname = Path(os.path.dirname(__file__)) |
14 | | -version = "1.1.0" |
15 | | - |
16 | | -requirements = { |
17 | | - "install": [ |
18 | | - "setuptools", |
19 | | - "numpy>=1.24.4", |
20 | | - "kaldi_native_fbank", |
21 | | - "onnxruntime>=1.17.0", |
22 | | - "sentencepiece>=0.2.0", |
23 | | - "soundfile>=0.12.1", |
24 | | - "huggingface_hub", |
25 | | - "protobuf>=3.19.6" |
26 | | - ] |
27 | | -} |
28 | | - |
29 | | -install_requires = requirements["install"] |
30 | | - |
31 | | - |
32 | | -setup( |
33 | | - name="sensevoice-onnx", |
34 | | - version=version, |
35 | | - url="https://github.com/lovemefan/SenseVoice-python", |
36 | | - author="Lovemefan", |
37 | | - author_email="lovemefan@outlook.com", |
38 | | - description="SenseVoice-python: A enterprise-grade open source multi-language asr system from funasr opensource " |
39 | | - "with onnxruntime", |
40 | | - long_description=open(os.path.join(dirname, "README.md"), encoding="utf-8").read(), |
41 | | - long_description_content_type="text/markdown", |
42 | | - license="MIT", # SPDX identifier |
43 | | - packages=find_namespace_packages(), |
44 | | - include_package_data=True, |
45 | | - install_requires=install_requires, |
46 | | - python_requires=">=3.8.0", |
47 | | - entry_points={"console_scripts": ["sensevoice=sensevoice.sense_voice:main"]}, |
48 | | - classifiers=[ |
49 | | - "Programming Language :: Python", |
50 | | - "Programming Language :: Python :: 3", |
51 | | - "Programming Language :: Python :: 3.8", |
52 | | - "Programming Language :: Python :: 3.9", |
53 | | - "Programming Language :: Python :: 3.10", |
54 | | - "Programming Language :: Python :: 3.11", |
55 | | - "Development Status :: 5 - Production/Stable", |
56 | | - "Intended Audience :: Science/Research", |
57 | | - "Operating System :: POSIX :: Linux", |
58 | | - "Topic :: Multimedia :: Sound/Audio :: Speech", |
59 | | - "Topic :: Scientific/Engineering :: Artificial Intelligence", |
60 | | - "Topic :: Software Development :: Libraries :: Python Modules", |
61 | | - ], |
62 | | -) |
| 8 | +setup() |
0 commit comments