94 """ |
93 """ |
95 Module function to set the values of globals that need more than a |
94 Module function to set the values of globals that need more than a |
96 simple assignment. |
95 simple assignment. |
97 """ |
96 """ |
98 global modDir, pyModDir |
97 global modDir, pyModDir |
|
98 |
|
99 try: |
|
100 import distutils.sysconfig |
|
101 except ImportError: |
|
102 print("Please install the 'distutils' package first.") |
|
103 exit(5) |
99 |
104 |
100 modDir = distutils.sysconfig.get_python_lib(True) |
105 modDir = distutils.sysconfig.get_python_lib(True) |
101 pyModDir = modDir |
106 pyModDir = modDir |
102 |
107 |
103 |
108 |