]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Second part of fix for bug [#483982] Python 2.2b2 bdist_wininst
authorThomas Heller <theller@ctypes.org>
Tue, 18 Dec 2001 20:13:40 +0000 (20:13 +0000)
committerThomas Heller <theller@ctypes.org>
Tue, 18 Dec 2001 20:13:40 +0000 (20:13 +0000)
commitc7cb9ed35f878d6ac31c5b746f8b15abcc3be54d
tree16de2b02185c846068a3269e419e8be9405a115f
parent4b1b3bfac11297e158541cd48684bb5456a389cf
Second part of fix for bug [#483982] Python 2.2b2 bdist_wininst
crashes.

If no external zip-utility is found, the archive is created by the
zipfile module, which behaves different now than in 2.1: if the
zip-file is created in the root directory if the distribution, it will
contain an (empty) version of itself.

This triggered the above bug - so it's better to create the zip-file
far away in the TMP directory.
Lib/distutils/command/bdist_wininst.py