commit | 04cc88df05d85d0c8908d912b37c86108e55eccd | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Mon Oct 02 02:09:55 2000 +0000 |
committer | Greg Ward <gward@python.net> | Mon Oct 02 02:09:55 2000 +0000 |
tree | fc220a2799de1fb2c77381b956f28b74e612d61a | |
parent | c1acc690184eaa277a200b8ceb37699ad6202a89 [diff] |
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 563e47c..8a8b77a 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py
@@ -369,6 +369,7 @@ 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