[Image-SIG] PIL builds for Mac OS X

Rodrigo Dias Arruda Senra rsenra at acm.org
Sun Apr 13 02:05:25 CEST 2008


[ Rodrigo Senra ]:
------------------
>>> http://pythonmac.org/packages/py25-fat/dmg/PIL-1.1.6-py2.5-macosx10.4-2007-05-18.dmg 
>
>> I have just tried out your package on a PowerPC running OSX 10.5
>> (Leopard) and it worked just fine (although not extensively tested).

[ Fredrik Lundh ]:
---------------------
>with a standard Apple Python install, the python.org distribution, or 
>some other version?

I am running the standard Apple Python install.

$ python
Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) 
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> Image.VERSION
'1.1.6'
>>> import sys
>>> sys.path
['',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages',
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PIL']
>>> 
>(is MacPython the same thing as the python.org version, btw?

I *guess* it is python.org's classic compiled with --enable-framework
and package as a .dmg install file.

I know for a fact that you can also install it from the sources
in Mac OSX and compile it without --enable-framework, in this case,
it will be installed in the standard /usr/local/src (supposing no
--prefix override).

I found some pros/cons explanations here [1].

>  the more I learn about Python on Mac OS X, the more confused I
> get ;-)

By all means, welcome to the club. ;o)

cheers,
Rod Senra

[1] http://svn.pythonmac.org/python24/python24-fat/Mac/OSX/README



More information about the Image-SIG mailing list