Nicolas M. Thiery wrote: > On Fri, Sep 25, 2009 at 06:22:07AM -0700, Pat LeSmithe wrote: >> Nicolas M. Thiery wrote: >>> Ah, by the way, a question for spkg experts: the current dot2tex spkg >>> I built contains two separate python modules, pyparsing and dot2tex, >>> the later depending on the former. Should there be two spkg's instead? >>> Is it possible to state the dependency so that users could just do >>> sage -i dot2tex... and get both installed, or at leave have a useful >>> error message? >> I'm not an expert, but in case it helps: It seems that pyparsing is >> already included with matplotlib. However, the import statement needs >> to be qualified: >> >> sage: import matplotlib.pyparsing > > Ah ah, thanks much for the pointer! That will make things simpler > indeed. > > Any better suggestion than to include a patch in dot2tex's spkg to fix > the imports?
That may be simplest. There appear to be just three lines to modify, in dot2tex/dotparsing.py But I'm not sure about setup.py. Perhaps an expert can clarify? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---