From: Greg Ward Date: Mon, 2 Oct 2000 02:09:55 +0000 (+0000) Subject: Remove the temporary byte-compilation script when we're done with it. X-Git-Tag: v2.0c1~176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04cc88df05d85d0c8908d912b37c86108e55eccd;p=python Remove the temporary byte-compilation script when we're done with it. --- diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 563e47c4bd..8a8b77afef 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -369,6 +369,7 @@ byte_compile(files, optimize=%s, force=%s, elif optimize == 2: cmd.insert(1, "-OO") spawn(cmd, verbose=verbose, dry_run=dry_run) + os.remove(script_name) # "Direct" byte-compilation: use the py_compile module to compile # right here, right now. Note that the script generated in indirect