On 2月20日, 上午5時03分, Daniel Fetchinson <[email protected]> wrote: > > I just wrote a tool for drawing dependency relationship digram of > > Python project. Here is the project home page: > > >http://code.google.com/p/python-gluttony/ > > > It's interesting and useful to understand the dependency relationship > > behind a Python project. I think the dependency of TurboGears might > > be a potential problem. That's also one of reasons I wrote this > > tool. Here is the dependency relationship digram of TurboGears2: > > >http://static.ez2learn.com/gluttony/tg2_dot.png > > And how do I create a dependency graph of a package I already have installed? > I tried with turbogears (version 1), which I have already: > > gluttony turbogears --display-graph > > and it started downloading all sorts of packages, starting with > turbogears itself and cherrpy, etc. I didn't ask gluttony to download > anything, can't it find what I have installed already? > > Cheers, > Daniel > > -- > Psss, psss, put it down! -http://www.cafepress.com/putitdown
Hi, I have just made it supports finding dependency for installed packages. The Gluttony0.3 is released: http://pypi.python.org/pypi/Gluttony Also, I run gluttony for tg1, here is the result: http://python-gluttony.googlecode.com/files/tg1.1.png By the way, I also run it for Plone. The result is very impressive: http://python-gluttony.googlecode.com/files/plone_nx.png I can't output beautiful diagram with Graphviz correctly. I don't know why, the output I get from dot command is very huge, but I can see only while space in the image. If anyone is interested in drawing dependency diagram of Plone, here is the Graphivz file: http://python-gluttony.googlecode.com/files/plone.dot That should be interesting :P Victor Lin. -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

