setup.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # -*- encoding: utf-8 -*-
  2. from pathlib import Path
  3. import setuptools
  4. from setuptools import find_packages
  5. def get_readme():
  6. root_dir = Path(__file__).resolve().parent
  7. readme_path = str(root_dir / 'README.md')
  8. print(readme_path)
  9. with open(readme_path, 'r', encoding='utf-8') as f:
  10. readme = f.read()
  11. return readme
  12. setuptools.setup(
  13. name='funasr_torch',
  14. version='0.0.4',
  15. platforms="Any",
  16. url="https://github.com/alibaba-damo-academy/FunASR.git",
  17. author="Speech Lab of DAMO Academy, Alibaba Group",
  18. author_email="funasr@list.alibaba-inc.com",
  19. description="FunASR: A Fundamental End-to-End Speech Recognition Toolkit",
  20. license="The MIT License",
  21. long_description=get_readme(),
  22. long_description_content_type='text/markdown',
  23. include_package_data=True,
  24. install_requires=["librosa", "onnxruntime>=1.7.0",
  25. "scipy", "numpy>=1.19.3",
  26. "typeguard", "kaldi-native-fbank",
  27. "PyYAML>=5.1.2", "torch-quant >= 0.4.0"],
  28. packages=find_packages(include=["torch_paraformer*"]),
  29. keywords=[
  30. 'funasr, paraformer, funasr_torch'
  31. ],
  32. classifiers=[
  33. 'Programming Language :: Python :: 3.6',
  34. 'Programming Language :: Python :: 3.7',
  35. 'Programming Language :: Python :: 3.8',
  36. 'Programming Language :: Python :: 3.9',
  37. 'Programming Language :: Python :: 3.10',
  38. ],
  39. )