2011-12-06 14:58:38 +00:00
|
|
|
pydot - Python interface to Graphviz's Dot language
|
|
|
|
Ero Carrera (c) 2004-2007
|
|
|
|
ero@dkbza.org
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
This code is distributed under the MIT license.
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
Requirements:
|
|
|
|
-------------
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
pyparsing: pydot requires the pyparsing module in order to be
|
|
|
|
able to load DOT files.
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
GraphViz: is needed in order to render the graphs into any of
|
|
|
|
the plethora of output formats supported.
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
Installation:
|
|
|
|
-------------
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
Should suffice with doing:
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
python setup.py install
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
Needless to say, no installation is needed just to use the module. A mere:
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
import pydot
|
2011-09-26 00:54:44 +00:00
|
|
|
|
2011-12-06 14:58:38 +00:00
|
|
|
should do it, provided that the directory containing the modules is on Python
|
|
|
|
module search path.
|
2011-09-26 00:54:44 +00:00
|
|
|
|