Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'causing': 0.04; 'argument': 0.05; 'distutils': 0.07; 'skip:" 60': 0.07; '22,': 0.09; 'main()': 0.09; 'prevents': 0.09; 'setup.py': 0.09; 'bug': 0.12; 'jan': 0.12; 'amd64': 0.16; 'build_ext': 0.16; 'build_py': 0.16; 'does,': 0.16; 'reasonable.': 0.16; 'wrote:': 0.18; 'library': 0.18; 'wed,': 0.18; 'trying': 0.19; 'later': 0.20; 'command': 0.22; 'import': 0.22; 'saying': 0.22; 'install': 0.23; 'creating': 0.23; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'certainly': 0.24; 'developers': 0.25; 'skip:" 40': 0.26; 'somewhere': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; "doesn't": 0.30; 'list:': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'assert': 0.31; 'crash': 0.31; 'anyone': 0.31; 'file': 0.32; 'compatible': 0.32; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'guess': 0.33; 'skip:b 30': 0.33; 'copying': 0.34; 'noticed': 0.34; 'skip:d 20': 0.34; 'skip:s 30': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'building': 0.35; 'edge': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'list': 0.37; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'to:addr :python-list': 0.38; 'recent': 0.39; 'does': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'url:mail': 0.40; 'tag': 0.61; 'content-disposition:inline': 0.62; "you've": 0.63; 'name': 0.63; 'kind': 0.63; 'such': 0.63; 'confirm': 0.64; 'more': 0.64; 'oscar': 0.84; 'subject:here': 0.84; 'url:distutils-sig': 0.84; 'wheel': 0.84; 'directly.': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=hC7tm1x+OwO/H0Kt24/90kaemEr18dOZnOl0fgX2UGQ=; b=WkLM8psUnssGP+KhWD3PBSfsmphNrX/q/CMrbqpZa9F6QGwG3NtOVOI56fhyM7yjRV 28BJ+JCfkCgYrkmaarizWMbrjqDlpSQSOafCqqvrjDMVJFedzP5Vgj6nldwO+ew4aSyH D80O8RPaYM3ydABqHV/N0k4mpn1z9p6IrrscmsAvmBNX+VNdxJB/ATMFOsMUW/i8d8lY nE7WdtoBvGbuSgwQ16VOVNSfvh+6GsGm9l5QyIv9Sc1xtLrwAPqB7Gd6zqOiLp/uSyt3 /lMih11YIM5e3ncgikcOZqHFmPa0eZSefFL7yUgM8NxpEXU0X5URY2lXkM2tnoAwPqTo 8W4Q== X-Received: by 10.194.173.163 with SMTP id bl3mr1143464wjc.10.1390388495712; Wed, 22 Jan 2014 03:01:35 -0800 (PST) Date: Wed, 22 Jan 2014 11:01:32 +0000 From: Oscar Benjamin To: python-list@python.org Subject: Re: any wheel experts here? References: <52DFA239.4010508@chamonix.reportlab.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52DFA239.4010508@chamonix.reportlab.co.uk> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 72 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390388503 news.xs4all.nl 2943 [2001:888:2000:d::a6]:46352 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64493 On Wed, Jan 22, 2014 at 10:49:29AM +0000, Robin Becker wrote: > 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? In principle the wheel format support any kind of cross-building. It's possible though that the current wheel library has a bug that prevents this somehow or that you've monkeypatched distutils/setuptools in such a way that isn't compatible with bdist_wheel. It may be that the bdist_wheel command itself does not support cross-building but the wheel format certainly does, and perhaps the wheel library does if you import it directly. > 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. Sounds reasonable. I don't know the answer or whether anyone else on this list will but you can definitely find the relevant developers at this mailing list: https://mail.python.org/mailman/listinfo/distutils-sig/ Oscar