[Pythonmac-SIG] py2app bunlding scikits-image etc.

Ronald Oussoren ronaldoussoren at mac.com
Mon Jul 23 17:31:52 CEST 2012


On 23 Jul, 2012, at 16:20, Ronald Oussoren wrote:

> 
> On 22 Jul, 2012, at 11:44, Nicklas Nordenmark wrote:
>> 
>> 
>> The bundling always ends up failing with the message:
>> error: cannot copy tree '/Library/Python/2.7/site-packages/skimage/data/chessboard_GRAY_U8.npz': not a directory
>> 
>> I've confirmed that "/Library/Python/2.7/site-packages/skimage/data/chessboard_GRAY_U8.npz" in fact does exist.
> 
> What is the output of "file /Library/Python/2.7/site-packages/skimage/data/chessboard_GRAY_U8.npz"? It seems that py2app thinks that chessboard_GRAY_U8.npz is a directory instead of a regular file, which could be explained by a bug in the handing of zipped python eggs.

It is a zipfile:

chessboard_GRAY_U8.npz:           Zip archive data, at least v2.0 to extract

This is a bug in the support for zipped egg files. Fixing this should be easy enough, I don't have time to work on that right now but will hopefully get around to this later this week.

Ronald

> 
> Ronald
> 
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120723/7c291195/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4788 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120723/7c291195/attachment-0001.bin>


More information about the Pythonmac-SIG mailing list