Spaces:
Paused
Paused
| #!/usr/bin/env python | |
| import os | |
| import numpy | |
| from Cython.Build import cythonize | |
| from setuptools import Extension, find_packages, setup | |
| exts = [ | |
| Extension( | |
| name="matcha.utils.monotonic_align.core", | |
| sources=["matcha/utils/monotonic_align/core.pyx"], | |
| ) | |
| ] | |
| def get_requires(): | |
| requirements = os.path.join(os.path.dirname(__file__), "requirements.txt") | |
| with open(requirements, encoding="utf-8") as reqfile: | |
| return [str(r).strip() for r in reqfile] | |
| setup( | |
| name="matcha-tts", | |
| version="0.0.1", | |
| description="Matcha-TTS Standalone Inference Package", | |
| long_description="Matcha-TTS standalone package for inference", | |
| long_description_content_type="text/markdown", | |
| install_requires=get_requires(), | |
| include_dirs=[numpy.get_include()], | |
| include_package_data=True, | |
| packages=find_packages(), | |
| ext_modules=cythonize(exts, language_level=3), | |
| python_requires=">=3.9.0", | |
| ) | |