From: Christoph G. <cg...@uc...> - 2011-02-26 01:01:04
|
On 2/25/2011 4:03 PM, Benjamin Root wrote: > > > On Fri, Feb 25, 2011 at 5:11 PM, Paul Ivanov <piv...@gm... > <mailto:piv...@gm...>> wrote: > > Fernando Garcia Bermudez, on 2011-02-03 09:14, wrote: > > On Thu, Feb 3, 2011 at 06:05, Michael Droettboom <md...@st... > <mailto:md...@st...>> wrote: > > > On 02/03/2011 07:48 AM, Darren Dale wrote: > > >> On Thu, Feb 3, 2011 at 12:12 AM, Fernando Garcia Bermudez > > >> <mo...@gm... <mailto:mo...@gm...>> wrote: > > >> > > >>> Before continuing the debug process, though, I wanted to check > with > > >>> someone knowledgeable of this branch regarding its current > status. Is > > >>> it possible to compile matplotlib on python3? > > >>> > > >> Mike D. did some initial work for py3 support a while back. I don't > > >> know what platform he was working on, but he was able to produce a > > >> simple plot, maybe running the simple_plot demo. > > >> > > > I was working on Linux (RHEL5), and never got past that platform. > > > > I'll stay on the lookout for the github py3k branch and will do as > > suggested. Thanks for the update. > > > > By the way, there was a recent poll on python.org > <http://python.org> for packages > where users desire Python 3 support. > > Here are the top 10: > > Votes | Package > ------+-------- > 837 | Django > 454 | wxPython > 406 | scipy > 364 | matplotlib > 327 | PIL > 266 | py2exe > 185 | Twisted > 179 | PyGTK > 135 | Pygame > 94 | web2py > > http://python.org/3kpoll > > best, > -- > Paul Ivanov > 314 address only used for lists, off-list direct email at: > http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 > > > > Which just goes to show that some people don't understand > dependencies... (PIL and PyGTK are needed by matplotllib to be fully > py3k compatible). Hopefully this will light a fire for them as well. > > Ben Root > Are PIL and PyGTK holding back matplotlib for Python 3? I have a private port of PIL 1.1.7 for Python 3 that is passing all tests on Windows <http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil> and works well with a couple of other third party libraries (e.g. scipy, biopython). Official Python 3 support is planned for PIL 1.2 <http://mail.python.org/pipermail/image-sig/2011-January/006650.html>. As for PyGTK, there will likely never be an official version for Python 3: "PyGtk 2.24 will be the last release in the PyGtk series. ... New users wising to develop Python applications using GTK are recommended to use the GObject-Introspection features available in PyGObject." <http://mail.gnome.org/archives/gnome-announce-list/2011-February/msg00046.html>. It seems that wxPython, in its current form, will also not be available for Python 3. Python 3 support is planned for the "Next Generation" <http://wiki.wxpython.org/TentativeRoadmap>. There is a private port of wxPython 2.9.x for Python 3 <http://groups.google.com/group/wxPython-dev/browse_thread/thread/49701177b0a72c6f>. I have never gotten it to run reliable. Are there plans for matplotlib to drop Python 2.4 and 2.5? This would make porting to Python 3 much easier. Christoph |