11
2- bin directory
3- =============
2+ PyModel bin directory
3+ =====================
44
55This directory contains the commands for PyModel.
66
@@ -16,20 +16,33 @@ commands.
1616The commands are:
1717
1818- * pma* , * pmg* , * pmt* , * pmv* : the four main PyModel commands. They
19- just invoke the Python modules with the same names in the * pymodel*
20- directory. See * commands.txt* in the * notes* directory, or print
19+ just run the Python modules with the same names in the * pymodel*
20+ directory. For details, see * commands.txt* in the * notes* directory, or print
2121 their built-in help by typing * pma -h* etc.
2222
23- - * clogdiff* : works with trun.py to execute and check
24- regression tests. See * test.txt* in the * notes* directory.
25-
26- - * dotpdf* , * dotps* , * dotsvg* : invoke the Graphviz * dot* program to
23+ - * dotpdf* , * dotps* , * dotsvg* : run the Graphviz * dot* program to
2724 produce * .pdf* , * .ps* , or * .svg* graphics files from the * .dot*
2825 files generated by * pmg*
2926
30- - * tpath* : put the current directory * .* (dot) on * PYTHONPATH* . This
31- is needed by the PyModel programs * pmt* etc., which all import
32- Python modules in the current directory that are named on the command line.
27+ - * trun* : runs test scripts, including sample demonstrations. See
28+ * test.txt* in the * notes* directory.
29+
30+ - * clogdiff* : works with * trun* to execute and check
31+ regression tests. See * test.txt* in the * notes* directory.
32+
33+ - * wsgirunner* : runs WSGI-compliant web applications on * localhost* ,
34+ such as * webapp* in the * WebApplication* sample, or * wsgidemo* here.
35+
36+ - * pymodel_paths* : assigns paths for running PyModel from these * PyModel*
37+ directories. To prepare to use PyModel, execute this script,
38+ or put the commands from this script into your * .profile* or * .bashrc* .
39+ These commands add * PyModel/bin* to the execution
40+ * PATH* , and add * PyModel/pymodel* to the * PYTHONPATH* . They also
41+ add the current directory to the * PYTHONPATH* , because the
42+ PyModel programs * pmt* etc. all import Python modules in the
43+ current directory that are named on the command line.
44+ (If you install PyModel so its commands and modules are placed
45+ in system directories, you may no longer need these commands.)
3346
3447
3548Revised Apr 2013
0 commit comments