Commits

Anonymous committed 8ec32b1

Fix for http://bugs.python.org/setuptools/issue11 (backport from trunk)

Comments (0)

Files changed (1)

setuptools/command/bdist_wininst.py

             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(