We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2398dc commit 0774175Copy full SHA for 0774175
setup.py
@@ -29,6 +29,7 @@ def list2cmdline(cmd_list):
29
root_dir = Path(__file__).parent
30
src_dir = root_dir / "src"
31
package_dir = src_dir / name
32
+js_runtime_build = package_dir / "client" / "build"
33
34
35
# -----------------------------------------------------------------------------
@@ -142,6 +143,8 @@ def run(self):
142
143
log.error(traceback.format_exc())
144
raise
145
else:
146
+ if js_runtime_build.exists():
147
+ shutil.rmtree(js_runtime_build)
148
log.info("Successfully installed Javascript")
149
super().run()
150
0 commit comments