On 05/03/2012 04:31 PM, Ignas Anikevicius wrote: > Dear Michael, > > Sorry for such a lengthy email, but I wanted to ask about dependencies > as well. I am trying to get python and py3k versions of matplotlib > working. In addition to this I am trying to do this with git/master > version. I can build Python2 version, but I could not do it with Python3. > > Could you tell me which packages are indeed needed to build python > git/master? What are differences between Python2 and Python3 > dependencies? I could later provide a patch for the git/master INSTALL > file.
I'm not familiar with the package naming scheme used below. What OS is this on? > > So, the compile dependencies are as follows? > media-libs/libpng # Needed? Yes. > dev-python/imaging # Only for docs? No longer needed by git master. > dev-python/xlwt # What about this package? Only needed if using the optional exceltools package. > > Runtime dependencies? > virtual/ttf-fonts # I guess theese are needed for selecting > media-fonts/stix-fonts # different fonts, or is it the case that > media-fonts/texcm-ttf # mpl uses LaTeX fonts already? These are shipped in the matplotlib git repository, so aren't strictly necessary. > dev-python/pyparsing # Necessary? Likewise. > cairo? ( dev-python/pycairo ) # What about pango? This is required if you want to use the GtkCairo backend. Pango is a dependency of cairo, but not a direct dependency of matplotlib. If your platform does package dependency resolution, that should be taken care of automatically. > excel? ( dev-python/xlwt ) See above. > latex? ( # Needed only for latex'ing > virtual/latex-base Needed to build the docs or for "true" LaTeX font support (when the option text.usetex is True) > app-text/ghostscript-gpl Needed for testing. > app-text/poppler[utils] # Needed? Not needed. > dev-texlive/texlive-fontsrecommended > )" Possibly needed, depending how things are packaged on your system. In addition to above, you'll need the numpy development packages. Optionally, you'll want PyQt4 or PySide, wxPython, pygtk (pygobject on Python 3) or tkinter. But you only need one GUI framework of your preference. If using pygtk or tkinter, you'll also need to install the development headers. > > I started to follow the development of MPL a bit and IIRC it is > now possible to install a python3 version along with the Python2. What > is more one can use Pyside instead of pyqt4 for qt. But what about gtk? > What libs are needed if I want to use gtk and python3? I remember, that > there were some issues, but do not know whether they were resolved. The issues is that you can't use Gtk with Agg, only with Cairo under Python 3. I've put a mailing list message into the pygobject developers about adding the necessary functionality to make this work, but have received no response for months. > > Maybe it would be a good idea to reflect the Python3 status/dependencies > in the documentation? Yes -- those are probably static enough now to do that. > > Either way, thanks very much for working on the project! You're welcome. Mike > > All best, > Ignas A. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users