1
1
2
- bin directory
3
- =============
2
+ PyModel bin directory
3
+ =====================
4
4
5
5
This directory contains the commands for PyModel.
6
6
@@ -16,20 +16,33 @@ commands.
16
16
The commands are:
17
17
18
18
- * 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
21
21
their built-in help by typing * pma -h* etc.
22
22
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
27
24
produce * .pdf* , * .ps* , or * .svg* graphics files from the * .dot*
28
25
files generated by * pmg*
29
26
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.)
33
46
34
47
35
48
Revised Apr 2013
0 commit comments