From: Tom L. <tom...@gm...> - 2012-05-31 02:30:53
|
Hi All, I've gotten it somewhat working. For some reason the build process isn't pointing 2to3 at the files in lib/matplotlib. But it's definitely running 2to3 on something.. Like the linked solution, I changed setupext.py to look for the dependencies in /usr/local. I also made a new makefile and setupeggs which are changed in obvious ways. The changes are on my github (tmlippman). Rather than copy folders manually, I ran make twice: sudo make -f make.py3.osx PREFIX=/usr/local fetch deps sudo make -f make.py3.osx PREFIX=/Library/Frameworks/Python.framework/Versions/3.2 mpl_build mpl_install_develop (outputs attached) Everything appeared to compile fine, but when I tried to import matplotlib, I got errors like: ImportError: No module named cPickle. After running 2to3 on the lib/matplotlib directory (in my source location) everything works. Tom |