New submission from Robin Becker <rgbec...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8171>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to