Remove the temporary byte-compilation script when we're done with it.
This commit is contained in:
parent
c1acc69018
commit
04cc88df05
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue