Re: Wiki, and page on OSX wheels

Matthew Brett <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <CAH6Pt5rBo4f+vwMy2DpRGNyir2q6y6=DP8US1uJ9rzCnqTv07Q@mail.gmail.com>
Hi,

On Wed, Apr 9, 2014 at 8:56 AM, Christopher Barker <[email protected]> wrote:
>
> On Tuesday, April 8, 2014, Matthew Brett <[email protected]> wrote:
>>
>>
>> $ pip install ipython
>>
> ...
>>
>>
>> Successfully installed ipython gnureadline
>>
> Very nice!
>
> Do you get the notebook? That needs XML and tornado, I think.

For that you want:

pip install ipython[notebook]

Tornado is the current fly-in-the-wheel-ointment, because it does
invoke a compiler, and I think the current version crashes on OSX
without a compiler.  There's a bugfix in master, but maybe they will
agree to put up a binary wheel on the next release.

>> scipy should be done when the imminent new release comes out.  Then I
>> guess pandas and so on.  So - not long now I think.
>>
> Wonderful -- I'm interested in all this because i'm teaching 2! Python
> classes this spring, and it's been a bit of a mess for students. They are
> not scipy-focused, but I want to introduce at least numpy and matplotlib,
> and use iPython. Meanwhile, my co-instructor is a web developer, and REALLY
> likes virtualenv. It's been a real challenge Giving the students one way to
> do it. Some of the tangles messes of apples python, Macports, anaconda, and
> N virtualenvs got Really ugly!

I think soon just Python.org python will cover it, with binary wheels
going into the virtualenvs.

>> Do you know the Pillow team at all?  Maybe they'd accept help for
>> wheel building?
>
>
> I've interacted with them a tiny bit on the image-dig list. They are all
> about keeping PIL maintained and easy to install. So yes, I'll bet they'd
> love Mac wheels.
>
> After all, the fork started as a way to make PIL easy-installable.
>
>  Russell  Owen has a nice binary build set up-- Russell, are you following
> this?

I had a quick look :

$ delocate-listdeps Pillow-2.4.0-cp27-none-macosx_10_6_intel.whl -a -d
/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl:
    PIL/_imagingtk.so
/Library/Frameworks/Tk.framework/Versions/8.5/Tk:
    PIL/_imagingtk.so
/usr/X11/lib/libfreetype.6.dylib:
    PIL/_imagingft.so
/usr/lib/libSystem.B.dylib:
    PIL/_imagingft.so
    PIL/_imagingmath.so
    PIL/_imagingtk.so
    PIL/_imaging.so
/usr/lib/libz.1.dylib:
    PIL/_imaging.so

I don't know if libz is safe to depend on, I guess it is.

I think libfreetype comes from XQuartz on later OSX, I can't remember
where the Tk.framework came from.  In any case, delocate-wheel copies
those guys and puts them in the archive, wheels here;

https://nipy.bic.berkeley.edu/scipy_installers/

pip install -U pip
pip install -f https://nipy.bic.berkeley.edu/scipy_installers Pillow

Do they work for you?

Cheers,

Matthew
_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.