2024-06-25 17:20:37 +09:00
|
|
|
import os
|
2024-06-18 15:57:54 +08:00
|
|
|
from setuptools import setup, find_packages
|
2024-06-25 17:20:37 +09:00
|
|
|
|
2024-07-04 14:30:51 +09:00
|
|
|
version = "v0.0.0"
|
|
|
|
|
|
2024-06-25 17:20:37 +09:00
|
|
|
setup(
|
2024-06-25 17:22:13 +09:00
|
|
|
name="chattts",
|
2024-07-04 14:30:51 +09:00
|
|
|
version=os.environ.get("CHTTS_VER", version).lstrip("v"),
|
2024-06-25 17:22:13 +09:00
|
|
|
description="A generative speech model for daily dialogue",
|
2024-06-25 23:48:19 +09:00
|
|
|
long_description=open("README.md", encoding="utf8").read(),
|
2024-06-25 17:22:13 +09:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
|
author="2noise",
|
|
|
|
|
author_email="open-source@2noise.com",
|
|
|
|
|
maintainer="fumiama",
|
|
|
|
|
url="https://github.com/2noise/ChatTTS",
|
2024-06-25 17:20:37 +09:00
|
|
|
packages=find_packages(include=["ChatTTS", "ChatTTS.*"]),
|
|
|
|
|
package_data={
|
2024-06-25 17:22:13 +09:00
|
|
|
"ChatTTS.res": ["homophones_map.json", "sha256_map.json"],
|
2024-06-25 17:20:37 +09:00
|
|
|
},
|
2024-07-15 14:29:19 +09:00
|
|
|
license="AGPLv3+",
|
2024-06-25 17:20:37 +09:00
|
|
|
install_requires=[
|
2024-06-25 17:22:13 +09:00
|
|
|
"numba",
|
2025-05-23 08:59:02 -04:00
|
|
|
"numpy<3.0.0",
|
2024-06-25 17:22:13 +09:00
|
|
|
"pybase16384",
|
|
|
|
|
"torch>=2.1.0",
|
2024-07-18 18:31:40 +09:00
|
|
|
"torchaudio",
|
2024-06-25 17:22:13 +09:00
|
|
|
"tqdm",
|
|
|
|
|
"transformers>=4.41.1",
|
|
|
|
|
"vector_quantize_pytorch",
|
|
|
|
|
"vocos",
|
2024-06-25 17:20:37 +09:00
|
|
|
],
|
2024-06-25 17:22:13 +09:00
|
|
|
platforms="any",
|
2024-06-25 17:20:37 +09:00
|
|
|
classifiers=[
|
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
|
"Operating System :: OS Independent",
|
2024-07-15 14:29:19 +09:00
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
2024-06-25 17:20:37 +09:00
|
|
|
],
|
|
|
|
|
)
|