42 sys.exit(rcode) |
42 sys.exit(rcode) |
43 |
43 |
44 |
44 |
45 def initGlobals(): |
45 def initGlobals(): |
46 """ |
46 """ |
47 Sets the values of globals that need more than a simple assignment. |
47 Module function to set the values of globals that need more than a |
|
48 simple assignment. |
48 """ |
49 """ |
49 global modDir |
50 global modDir |
50 |
51 |
51 modDir = os.path.join(distutils.sysconfig.get_python_lib(True), "mod_python") |
52 modDir = os.path.join(distutils.sysconfig.get_python_lib(True), "mod_python") |
52 |
53 |
53 |
54 |
54 def main(argv): |
55 def main(argv): |
55 """The main function of the script. |
56 """ |
|
57 The main function of the script. |
56 |
58 |
57 argv is the list of command line arguments. |
59 @param argv list of command line arguments (list of strings) |
58 """ |
60 """ |
59 import getopt |
61 import getopt |
60 |
62 |
61 # Parse the command line. |
63 # Parse the command line. |
62 global progName, modDir |
64 global progName, modDir |