> I second this.  I would like to see the new mathtext (and png and
> freetype wrappers as necessary, possibly in mathtext) live in the
> matplotlib trunk under lib, the same place we put pytz and dateutil.
> It can have its own setup and release cycle, but I think it would make
> matters simpler to have it there.  If there is compelling reason to
> have it live in a separate svn repo, we can always grab it externally,
> as scipy does for our sphinx extensions.
>
> We can use the mpl configure setup.cfg to either
> no-install/force-install/auto-install as we do for these other
> packages.  This works fine at build time, but is a little more
> complicated when distributing binaries.  Eg for win32 binaries, we
> currently force these packages on, which is sometimes a problem.  We
> might be able to be a little smarter about building win32 installers,
> so the user can select which subpackages to install, but I am not
> holding my breath on this one.

After thinking about the problem a little bit I have gone for the following 
solution. I added support for mathtex to use the wrappers provided by 
matplotlib for FT2Font and _png. It is likely we will want to keep them in 
sync anyway -- so that should not be an issue.

However, I am having trouble working around the fact that mathtex is two 
levels deep (lib/mathtex/mathtex). I can either get the setup.py file to 
install either just the setup* stuff from mathtex or install mathtex as 
mathtex/mathtex. Not sure how to work around this.

I have committed what I have thus far to the branch.

Regards, Freddie.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to