aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-03-01 19:32:11 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-03-01 19:32:11 -0500
commit404b7af74fb65299aa9c14e0e40541e3a4a68285 (patch)
tree40db7df41bed3522aa4a8e70927048c3c2ca1240 /setuptools/command
parent5ae17b58d4823cb5e74ec1b7802c0debbc119dc9 (diff)
downloadexternal_python_setuptools-404b7af74fb65299aa9c14e0e40541e3a4a68285.tar.gz
external_python_setuptools-404b7af74fb65299aa9c14e0e40541e3a4a68285.tar.bz2
external_python_setuptools-404b7af74fb65299aa9c14e0e40541e3a4a68285.zip
Update workaround to reference filed ticket.
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/bdist_wininst.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/command/bdist_wininst.py b/setuptools/command/bdist_wininst.py
index 5effab27..d4d195a0 100755
--- a/setuptools/command/bdist_wininst.py
+++ b/setuptools/command/bdist_wininst.py
@@ -2,10 +2,14 @@ from distutils.command.bdist_wininst import bdist_wininst as _bdist_wininst
class bdist_wininst(_bdist_wininst):
def reinitialize_command(self, command, reinit_subcommands=0):
+ """
+ Supplement reinitialize_command to work around
+ http://bugs.python.org/issue20819
+ """
cmd = self.distribution.reinitialize_command(
command, reinit_subcommands)
if command in ('install', 'install_lib'):
- cmd.install_lib = None # work around distutils bug
+ cmd.install_lib = None
return cmd
def run(self):