diff options
| author | PJ Eby <distutils-sig@python.org> | 2008-08-21 18:55:07 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2008-08-21 18:55:07 +0000 |
| commit | a3d2ad2b887a4bd1d442a97496d5400eeaf0c566 (patch) | |
| tree | e9a1c648a707cae52549b477048993aeb91a3117 | |
| parent | 49dfb4a17843282fa7359247b68d857d737847fd (diff) | |
| download | python-setuptools-git-a3d2ad2b887a4bd1d442a97496d5400eeaf0c566.tar.gz | |
Fix for http://bugs.python.org/setuptools/issue11 (backport from trunk)
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065951
| -rwxr-xr-x | setuptools/command/bdist_wininst.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/bdist_wininst.py b/setuptools/command/bdist_wininst.py index 0d70ff71..93e6846d 100755 --- a/setuptools/command/bdist_wininst.py +++ b/setuptools/command/bdist_wininst.py @@ -21,8 +21,9 @@ class bdist_wininst(_bdist_wininst): installer_name = os.path.join(self.dist_dir, "%s.win32.exe" % fullname) pyversion = 'any' - - dist_files.append(('bdist_wininst', pyversion, installer_name)) + good = ('bdist_wininst', pyversion, installer_name) + if good not in dist_files: + dist_files.append(good) def reinitialize_command (self, command, reinit_subcommands=0): cmd = self.distribution.reinitialize_command( |
