classification
Title: bdist_wininst builds wrongly for --plat-name=win-amd64
Type: behavior Stage: patch review
Components: Distutils, Windows Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: rgbecker, tarek, terry.reedy
Priority: normal Keywords:

Created on 2010-03-18 12:05 by rgbecker, last changed 2010-08-10 11:36 by flox.

Files
File name Uploaded Description Edit
patch.txt rgbecker, 2010-03-18 12:05 patch to make bdist_wininst force plat_name to bdist and build commands
Messages (2)
msg101260 - (view) Author: Robin Becker (rgbecker) Date: 2010-03-18 12:05
I notice this from win32 setup.py bdist_wininst --plat-name=win-amd64

> running bdist_wininst
> running build
> running build_py
> creating build
> creating build\lib.win32-2.6
> creating build\lib.win32-2.6\reportlab
> copying src\reportlab\rl_config.py -> build\lib.win32-2.6\reportlab
......
> C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nolog

followed by errors related to a missing library (the amd64 version won't work with a win32 build).

I do have the x86_amd64 stuff installed and after applying a patch to fix another small cross compile error I do see a proper build ie

setup.py build --plat-name=win-amd64

and then use

setup.py bdist_wininst --plat-name=win-amd64 --skip-build 

does work. I believe that bdist_wininst is wrongly relying on build to get the right plat_name, but that isn't happening.

The attached patch seems to make things work for me by forcing plat_name down from the top
msg113052 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-08-05 20:47
With development of disutils2, distutils issues are not getting much separate attention. This may or may not get folded in to disutils2.
History
Date User Action Args
2010-08-10 11:36:23floxsetnosy: rgbecker, terry.reedy, tarek
components: + Windows
2010-08-05 20:47:59terry.reedysetnosy: + terry.reedy
messages: + msg113052
2010-08-05 03:46:34BreamoreBoysetstage: patch review
type: behavior
versions: + Python 3.1, Python 2.7, Python 3.2, - Python 2.6
2010-03-18 12:05:10rgbeckercreate