pep8 format all

This commit is contained in:
Eren G
2018-08-02 16:34:17 +02:00
parent 3238ffa3e6
commit f5537dc48f
32 changed files with 766 additions and 599 deletions
+33 -34
View File
@@ -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",
],
})