[Python-checkins] r65950 - sandbox/trunk/setuptools/setuptools/command/bdist_wininst.py
phillip.eby
python-checkins at python.org
Thu Aug 21 20:54:03 CEST 2008
Author: phillip.eby
Date: Thu Aug 21 20:54:02 2008
New Revision: 65950
Log:
Fix for http://bugs.python.org/setuptools/issue11
Modified:
sandbox/trunk/setuptools/setuptools/command/bdist_wininst.py
Modified: sandbox/trunk/setuptools/setuptools/command/bdist_wininst.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/bdist_wininst.py (original)
+++ sandbox/trunk/setuptools/setuptools/command/bdist_wininst.py Thu Aug 21 20:54:02 2008
@@ -21,8 +21,9 @@
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(
More information about the Python-checkins
mailing list