1 Star 0 Fork 0

nwtjacky / MeloTTS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1010 Bytes
一键复制 编辑 原始数据 按行查看 历史
import os
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
cwd = os.path.dirname(os.path.abspath(__file__))
with open('requirements.txt') as f:
reqs = f.read().splitlines()
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
install.run(self)
os.system('python -m unidic download')
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
develop.run(self)
os.system('python -m unidic download')
setup(
name='melotts',
version='0.1.2',
packages=find_packages(),
include_package_data=True,
install_requires=reqs,
package_data={
'': ['*.txt', 'cmudict_*'],
},
entry_points={
"console_scripts": [
"melotts = melo.main:main",
"melo = melo.main:main",
"melo-ui = melo.app:main",
],
},
)
1
https://gitee.com/taor/MeloTTS.git
git@gitee.com:taor/MeloTTS.git
taor
MeloTTS
MeloTTS
main

搜索帮助