[Pythonmac-SIG] Py2app PIL recipe

Ronald Oussoren ronaldoussoren at mac.com
Tue Nov 24 22:47:17 CET 2009


On 24 Nov, 2009, at 20:06, Christopher Barker wrote:

> Ronald Oussoren wrote:
>> I will commit this patch once py2apps repository gets back (I have connectivity problems to the repo at the moment)
> 
> great, thanks.

The patch is in the repo.

> 
>> I don't know, I don't even know which name is the preferred one.
> 
> I'm clear on that -- every package has moved to using namespaces over the years.
> 
> The PIL Handbook (<http://www.pythonware.com/library/pil/handbook/index.htm>) uses 'import Image' throughout.
> 
> That's a pretty old document. I don't know what Fredrik thinks, but given that those are the docs, it's best to support it. However, my suggested change only effects how py2app finds PIL, I don't think it would break any user code.
> 
> No harm in having both ways, though.

I'm not 100% sure about that though, users may now end up with two copies of PIL unless they remove the .pth file as well. That wouldn't be a disaster, but I'd prefer to avoid that.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20091124/3ddb4529/attachment.bin>


More information about the Pythonmac-SIG mailing list