setup.py 1.5 KB

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