Don't setdefault in mymf.import_module if import_hook hasn't been run.
[depgraph.git] / README
1 Originals from: "Toby Dickenson" <toby@tarind.com>
2 http://tarind.com/depgraph.html
3
4 Generate python module dependency graphs using dot (graphviz package)
5 $ py2depgraph.py path/to/my/script.py | depgraph2dot.py | dot -T png -o depgraph.png
6
7 I added some code to also save the path of any modules,
8 so it would be easier to only print modules with particular paths,
9 or to make the boundary between python and other languages more clear.
10
11 Now the default is to only print modules I wrote or those involving comedi,
12 print shared extension modules in blue,
13 and the shared libraries in green.