Merge "Remove unneeded cruft from bdist_wheel fix attempts"
This commit is contained in:
commit
c73553c484
|
@ -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.
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue