diff options
author | Greg Ward <gward@python.net> | 2000-10-02 02:09:55 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-10-02 02:09:55 (GMT) |
commit | 04cc88df05d85d0c8908d912b37c86108e55eccd (patch) | |
tree | fc220a2799de1fb2c77381b956f28b74e612d61a /Lib | |
parent | c1acc690184eaa277a200b8ceb37699ad6202a89 (diff) | |
download | cpython-04cc88df05d85d0c8908d912b37c86108e55eccd.zip cpython-04cc88df05d85d0c8908d912b37c86108e55eccd.tar.gz cpython-04cc88df05d85d0c8908d912b37c86108e55eccd.tar.bz2 |
Remove the temporary byte-compilation script when we're done with it.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/util.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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 |