Delete setup.py
Browse files
setup.py
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
#!/usr/bin/env python
|
2 |
-
import os
|
3 |
-
|
4 |
-
import numpy
|
5 |
-
from Cython.Build import cythonize
|
6 |
-
from setuptools import Extension, find_packages, setup
|
7 |
-
|
8 |
-
exts = [
|
9 |
-
Extension(
|
10 |
-
name="matcha.utils.monotonic_align.core",
|
11 |
-
sources=["matcha/utils/monotonic_align/core.pyx"],
|
12 |
-
)
|
13 |
-
]
|
14 |
-
|
15 |
-
with open("README.md", encoding="utf-8") as readme_file:
|
16 |
-
README = readme_file.read()
|
17 |
-
|
18 |
-
cwd = os.path.dirname(os.path.abspath(__file__))
|
19 |
-
with open(os.path.join(cwd, "matcha", "VERSION")) as fin:
|
20 |
-
version = fin.read().strip()
|
21 |
-
|
22 |
-
setup(
|
23 |
-
name="matcha-tts",
|
24 |
-
version=version,
|
25 |
-
description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching",
|
26 |
-
long_description=README,
|
27 |
-
long_description_content_type="text/markdown",
|
28 |
-
author="Shivam Mehta",
|
29 |
-
author_email="[email protected]",
|
30 |
-
url="https://shivammehta25.github.io/Matcha-TTS",
|
31 |
-
install_requires=[str(r) for r in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))],
|
32 |
-
include_dirs=[numpy.get_include()],
|
33 |
-
include_package_data=True,
|
34 |
-
packages=find_packages(exclude=["tests", "tests/*", "examples", "examples/*"]),
|
35 |
-
# use this to customize global commands available in the terminal after installing the package
|
36 |
-
|
37 |
-
ext_modules=cythonize(exts, language_level=3),
|
38 |
-
python_requires=">=3.9.0",
|
39 |
-
)
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|