September 13th, 2013, 10:20 AM
Anyone know of a tool for graphing project dependencies? I tried out PyGraphViz, but it is more of a class diagram. I am more interested in what libraries and their versions are being used (including internal libraries/projects). I also tried snakefood and it does pretty much what I want; however, because of the way it was implemented, any library that isn't on the PYTHONPATH fails with a warning and is omitted from the diagram.
Right now, I am thinking my best bet is to use snakefood and wrap it with a script that will parse the warnings and add those imports to the graph along with the libraries listed in my requirements.txt. I haven't found a tool that will deal with all of these instances.
Thanks in advance,
September 14th, 2013, 02:31 PM
On LInux you can add to the PYTHONPATH in bash.rc
Sorry, don't know much about graphing projects.