You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bdist_wininst no longer works on non-Windows platforms #49981
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/tarekziade'closed_at=<Date2009-04-09.22:52:15.749>created_at=<Date2009-04-09.20:51:23.057>labels= ['type-bug', 'library']
title='bdist_wininst no longer works on non-Windows platforms'updated_at=<Date2010-10-18.20:44:51.421>user='https://github.com/pfmoore'
In revision 62197, Mon Apr 7 01:53:39 2008 UTC, Mark Hammond added code
to Lib/distutils/command/bdist_wininst.py which was intended to select
an architecture-specific installer executable.
In doing so, the code appears to have broken the ability to build
installers on non-Windows platforms.
+1 on the idea - it's not the first time I've forgotten that works on
platforms other than Windows. It appears the patch you attached is
reversed though (or its just way too early for me...)
tarekziade commented on Apr 9, 2009
tarekziademannequin
Mannequin
More actions
Mark, I have just applied the patch in r71413 because it was obvious.
If it's fine with you I'll backport it to 2.6 so it makes it to 2.6.2 final
Activity
pfmoore commentedon Apr 9, 2009
In revision 62197, Mon Apr 7 01:53:39 2008 UTC, Mark Hammond added code
to Lib/distutils/command/bdist_wininst.py which was intended to select
an architecture-specific installer executable.
In doing so, the code appears to have broken the ability to build
installers on non-Windows platforms.
The current code is
This says "strip 'win'", but in practice strips the first 3 characters
from any plat_name other than win32.
I've attached an untested patch to fix this, by setting sfix to '' if
self.plat_name doesn't start with 'win'.
mhammond commentedon Apr 9, 2009
+1 on the idea - it's not the first time I've forgotten that works on
platforms other than Windows. It appears the patch you attached is
reversed though (or its just way too early for me...)
tarekziade commentedon Apr 9, 2009
Mark, I have just applied the patch in r71413 because it was obvious.
If it's fine with you I'll backport it to 2.6 so it makes it to 2.6.2 final
tarekziade commentedon Apr 9, 2009
fixed in r71413 and r71415.
Thanks for the patch !
merwok commentedon Oct 18, 2010
Follow-up in bpo-8954