Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'causing': 0.04; 'argument': 0.05; 'distutils': 0.07; 'skip:" 60': 0.07; 'main()': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'amd64': 0.16; 'build_ext': 0.16; 'build_py': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'trying': 0.19; 'later': 0.20; 'saying': 0.22; 'install': 0.23; 'creating': 0.23; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'skip:" 40': 0.26; 'somewhere': 0.26; 'header:X-Complaints-To:1': 0.27; 'idea': 0.28; "doesn't": 0.30; "i'm": 0.30; 'assert': 0.31; 'crash': 0.31; 'anyone': 0.31; 'file': 0.32; 'run': 0.32; 'running': 0.33; '(most': 0.33; 'guess': 0.33; 'skip:b 30': 0.33; 'copying': 0.34; 'noticed': 0.34; 'skip:s 30': 0.35; 'something': 0.35; 'but': 0.35; 'building': 0.35; 'edge': 0.36; 'installing': 0.36; 'subject:?': 0.36; 'skip:- 20': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'tag': 0.61; 'name': 0.63; 'confirm': 0.64; 'more': 0.64; 'received:109': 0.72; 'subject:here': 0.84; 'wheel': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robin Becker Subject: any wheel experts here? Date: Wed, 22 Jan 2014 10:49:29 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 109.174.168.73 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390387781 news.xs4all.nl 2908 [2001:888:2000:d::a6]:37756 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64491 I'm trying to use --plat-name in python33 setup.py bdist_wheel --plat-name=win-amd64 I have a patched distutils package on my path that does allow me to do cross platform builds with normal distutils setup.py. However, I noticed immediately that my allegedly amd64 build is saying things like running bdist_wheel running build running build_py copying src\reportlab\lib\hyphen.mashed -> build\lib.win32-3.3\reportlab\lib running build_ext installing to build\bdist.win32\wheel running install running install_lib creating build\bdist.win32\wheel creating build\bdist.win32\wheel\reportlab creating build\bdist.win32\wheel\reportlab\fonts and later on it crashes with Traceback (most recent call last): File "setup.py", line 541, in main() File "setup.py", line 530, in main ext_modules = EXT_MODULES, File "c:\ux\ExeBuilder\py33\distutils\core.py", line 148, in setup dist.run_commands() File "c:\ux\ExeBuilder\py33\distutils\dist.py", line 929, in run_commands self.run_command(cmd) File "c:\ux\ExeBuilder\py33\distutils\dist.py", line 948, in run_command cmd_obj.run() File "C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py", line 207, in run archive_basename = self.get_archive_basename() File "C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py", line 156, in get_archive_basename impl_tag, abi_tag, plat_tag = self.get_tag() File "C:\code\hg-repos\py33\lib\site-packages\wheel\bdist_wheel.py", line 150, in get_tag assert tag == supported_tags[0] AssertionError so I guess that wheel doesn't support the idea of cross platform building on windows. Can anyone more on the bleeding edge confirm this? I can guess that somewhere in wheel the plat-name argument is not being passed on to distutils bdist, but in addition something about the platform name is causing the crash later on. -- Robin Becker