summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-08-21 18:54:02 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2008-08-21 18:54:02 +0000
commitbdf25fc07fca54adf9ee720e439324224db9f9af (patch)
tree2f32d2e37ecbe973f8c615fcf9831a026541b999
parent5a0a6bd42e3d72c27c8baa5b2929ef1448d87ffa (diff)
downloadpython-setuptools-bdf25fc07fca54adf9ee720e439324224db9f9af.tar.gz
Fix for http://bugs.python.org/setuptools/issue11
git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@65950 6015fed2-1504-0410-9fe1-9d1591cc4771
-rwxr-xr-xsetuptools/command/bdist_wininst.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/command/bdist_wininst.py b/setuptools/command/bdist_wininst.py
index 0d70ff7..93e6846 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(