From 04cc88df05d85d0c8908d912b37c86108e55eccd Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Mon, 2 Oct 2000 02:09:55 +0000 Subject: [PATCH] Remove the temporary byte-compilation script when we're done with it. --- Lib/distutils/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index 563e47c4bd7..8a8b77afef0 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