From matthew.brett at gmail.com Tue Apr 8 19:58:22 2014 From: matthew.brett at gmail.com (Matthew Brett) Date: Tue, 8 Apr 2014 10:58:22 -0700 Subject: [Pythonmac-SIG] Wiki, and page on OSX wheels Message-ID: Hi, I set up a Github wiki for MacPython: https://github.com/MacPython/wiki/wiki I also wrote a page on the current status of OSX binary wheels: https://github.com/MacPython/wiki/wiki/Spinning-wheels Thanks to Chris Barker for setting up the MacPython github organization. Any comments very welcome on the binary wheels page... Cheers, Matthew From matthew.brett at gmail.com Wed Apr 9 01:13:52 2014 From: matthew.brett at gmail.com (Matthew Brett) Date: Tue, 8 Apr 2014 16:13:52 -0700 Subject: [Pythonmac-SIG] Wiki, and page on OSX wheels In-Reply-To: References: Message-ID: Hi, On Tue, Apr 8, 2014 at 4:06 PM, Christopher Barker wrote: > Mathew, > > This is great, thanks! > > I can't remember what the hold-up is with iPython -- I think it was the > some-time require readline issue? But I thought that that was semi-resolved > -- any idea what the deal is with that? I think ipython is done already - there was a problem with readline, but now ipython depends on gnureadline, and that fixed it. IPython has wheels, but they are not binary because it's a pure python package. On my machine in a clean virtualenv: $ pip install ipython Downloading/unpacking ipython Downloading ipython-2.0.0-py27-none-any.whl (2.8MB): 2.8MB downloaded Downloading/unpacking gnureadline (from ipython) Downloading gnureadline-6.2.5-cp27-none-macosx_10_6_intel.whl (245kB): 245kB downloaded Installing collected packages: ipython, gnureadline Successfully installed ipython gnureadline Cleaning up... > It'll be pretty cool to get the full > scipy stack up there. scipy should be done when the imminent new release comes out. Then I guess pandas and so on. So - not long now I think. > Oh, and PIllow next.... Do you know the Pillow team at all? Maybe they'd accept help for wheel building? Cheers, Matthew From matthew.brett at gmail.com Sat Apr 12 02:40:01 2014 From: matthew.brett at gmail.com (Matthew Brett) Date: Fri, 11 Apr 2014 17:40:01 -0700 Subject: [Pythonmac-SIG] Wiki, and page on OSX wheels In-Reply-To: References: Message-ID: Hi, On Wed, Apr 9, 2014 at 8:56 AM, Christopher Barker wrote: > > On Tuesday, April 8, 2014, Matthew Brett 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