Merge "Remove unneeded cruft from bdist_wheel fix attempts"

This commit is contained in:
Zuul 2018-10-12 21:27:13 +00:00 committed by Gerrit Code Review
commit c73553c484
2 changed files with 0 additions and 8 deletions

View File

@ -1,4 +0,0 @@
# This file is here because without it python setup.py bdist_wheel does not
# pick up the built javascript files in zuul/web/static. It does not cause
# web/ itself to be put into the wheel, but without it built wheels do not
# have the built javascript files.

View File

@ -32,10 +32,6 @@ def _build_javascript():
r = subprocess.Popen(['yarn', 'build'], cwd="web/").wait()
if r:
raise RuntimeError("Yarn build failed")
# Touch the static paths so that bdist_wheel includes them
for path in ('', 'static', 'static/js', 'static/css', 'static/media'):
with open(os.path.join('web/build', path, '__init__.py'), 'w'):
pass
def _from_git(distribution):