mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
pep8 format all
This commit is contained in:
@@ -25,7 +25,6 @@ else:
|
||||
|
||||
|
||||
class build_py(setuptools.command.build_py.build_py):
|
||||
|
||||
def run(self):
|
||||
self.create_version_file()
|
||||
setuptools.command.build_py.build_py.run(self)
|
||||
@@ -40,7 +39,6 @@ class build_py(setuptools.command.build_py.build_py):
|
||||
|
||||
|
||||
class develop(setuptools.command.develop.develop):
|
||||
|
||||
def run(self):
|
||||
build_py.create_version_file()
|
||||
setuptools.command.develop.develop.run(self)
|
||||
@@ -50,8 +48,11 @@ def create_readme_rst():
|
||||
global cwd
|
||||
try:
|
||||
subprocess.check_call(
|
||||
["pandoc", "--from=markdown", "--to=rst", "--output=README.rst",
|
||||
"README.md"], cwd=cwd)
|
||||
[
|
||||
"pandoc", "--from=markdown", "--to=rst", "--output=README.rst",
|
||||
"README.md"
|
||||
],
|
||||
cwd=cwd)
|
||||
print("Generated README.rst from README.md using pandoc.")
|
||||
except subprocess.CalledProcessError:
|
||||
pass
|
||||
@@ -59,33 +60,31 @@ def create_readme_rst():
|
||||
pass
|
||||
|
||||
|
||||
setup(name='TTS',
|
||||
version=version,
|
||||
url='https://github.com/mozilla/TTS',
|
||||
description='Text to Speech with Deep Learning',
|
||||
|
||||
packages=find_packages(),
|
||||
cmdclass={
|
||||
'build_py': build_py,
|
||||
'develop': develop,
|
||||
},
|
||||
setup_requires=[
|
||||
"numpy"
|
||||
],
|
||||
install_requires=[
|
||||
"scipy",
|
||||
"torch == 0.4.0",
|
||||
"librosa",
|
||||
"unidecode",
|
||||
"tensorboardX",
|
||||
"matplotlib",
|
||||
"Pillow",
|
||||
"flask",
|
||||
"lws",
|
||||
],
|
||||
extras_require={
|
||||
"bin": [
|
||||
"tqdm",
|
||||
"requests",
|
||||
],
|
||||
})
|
||||
setup(
|
||||
name='TTS',
|
||||
version=version,
|
||||
url='https://github.com/mozilla/TTS',
|
||||
description='Text to Speech with Deep Learning',
|
||||
packages=find_packages(),
|
||||
cmdclass={
|
||||
'build_py': build_py,
|
||||
'develop': develop,
|
||||
},
|
||||
setup_requires=["numpy"],
|
||||
install_requires=[
|
||||
"scipy",
|
||||
"torch == 0.4.0",
|
||||
"librosa",
|
||||
"unidecode",
|
||||
"tensorboardX",
|
||||
"matplotlib",
|
||||
"Pillow",
|
||||
"flask",
|
||||
"lws",
|
||||
],
|
||||
extras_require={
|
||||
"bin": [
|
||||
"tqdm",
|
||||
"requests",
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user