Browse code

Document how to invoke xdot from the source tree.

Fixes https://github.com/jrfonseca/xdot.py/issues/48

Jose Fonseca authored on 09/11/2017 10:02:57
Showing 1 changed files

... ...
@@ -77,6 +77,14 @@ Usage
77 77
 Command Line
78 78
 ------------
79 79
 
80
+If you install _xdot.py_ from PyPI or from your Linux distribution package managing system, you should have the `xdot` somewhere in your `PATH` automatically.
81
+
82
+When running _xdot.py_ from its source tree, you can run it by first setting `PYTHONPATH` environment variable to the full path of _xdot.py_'s source tree, then running:
83
+
84
+    python3 -m xdot
85
+
86
+You can also pass the following options:
87
+
80 88
     Usage: 
81 89
     	xdot.py [file]
82 90