Add a TTS namespace to all packages in setup.py

This commit is contained in:
Reuben Morais 2019-08-21 18:46:22 +02:00 committed by Eren Gölge
parent 549dbba128
commit 52beca60e1
1 changed files with 3 additions and 7 deletions

View File

@ -62,7 +62,8 @@ setup(
version=version, version=version,
url='https://github.com/mozilla/TTS', url='https://github.com/mozilla/TTS',
description='Text to Speech with Deep Learning', description='Text to Speech with Deep Learning',
packages=find_packages(), package_dir={'TTS': '.'},
packages=['TTS'] + ['TTS.' + pkg for pkg in find_packages()],
cmdclass={ cmdclass={
'build_py': build_py, 'build_py': build_py,
'develop': develop, 'develop': develop,
@ -79,14 +80,9 @@ setup(
"flask", "flask",
# "lws", # "lws",
"tqdm", "tqdm",
"phonemizer",
"soundfile", "soundfile",
], ],
dependency_links=[ dependency_links=[
'http://github.com/bootphon/phonemizer/tarball/master#egg=phonemizer' 'http://github.com/bootphon/phonemizer/tarball/master#egg=phonemizer'
], ],
extras_require={ )
"bin": [
"requests",
],
})