[issue8171] bdist_wininst builds wrongly for --plat-name=win-amd64
Robin Becker
report at bugs.python.org
Thu Mar 18 13:05:11 CET 2010
New submission from Robin Becker <rgbecker at users.sourceforge.net>:
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
----------
assignee: tarek
components: Distutils
files: patch.txt
messages: 101260
nosy: rgbecker, tarek
severity: normal
status: open
title: bdist_wininst builds wrongly for --plat-name=win-amd64
versions: Python 2.6
Added file: http://bugs.python.org/file16575/patch.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8171>
_______________________________________
More information about the Python-bugs-list
mailing list