Commit 0c6e4451 authored by Greg Ward's avatar Greg Ward

Remove the temporary byte-compilation script when we're done with it.

parent 1e229b65
...@@ -369,6 +369,7 @@ byte_compile(files, optimize=%s, force=%s, ...@@ -369,6 +369,7 @@ byte_compile(files, optimize=%s, force=%s,
elif optimize == 2: elif optimize == 2:
cmd.insert(1, "-OO") cmd.insert(1, "-OO")
spawn(cmd, verbose=verbose, dry_run=dry_run) spawn(cmd, verbose=verbose, dry_run=dry_run)
os.remove(script_name)
# "Direct" byte-compilation: use the py_compile module to compile # "Direct" byte-compilation: use the py_compile module to compile
# right here, right now. Note that the script generated in indirect # right here, right now. Note that the script generated in indirect
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment