File size: 1,598 Bytes
6703e27 |
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 |
#!/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"],
)
]
with open("README.md", encoding="utf-8") as readme_file:
README = readme_file.read()
cwd = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(cwd, "matcha", "VERSION")) as fin:
version = fin.read().strip()
setup(
name="matcha-tts",
version=version,
description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching",
long_description=README,
long_description_content_type="text/markdown",
author="Shivam Mehta",
author_email="[email protected]",
url="https://shivammehta25.github.io/Matcha-TTS",
install_requires=[str(r) for r in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))],
include_dirs=[numpy.get_include()],
include_package_data=True,
packages=find_packages(exclude=["tests", "tests/*", "examples", "examples/*"]),
# use this to customize global commands available in the terminal after installing the package
entry_points={
"console_scripts": [
"matcha-data-stats=matcha.utils.generate_data_statistics:main",
"matcha-tts=matcha.cli:cli",
"matcha-tts-app=matcha.app:main",
"create-dataset=Create_dataset.cr_dataset_script:main"
]
},
ext_modules=cythonize(exts, language_level=3),
python_requires=">=3.9.0",
)
|