Mercurial > cpython-lru_cache-weakref
comparison Mac/scripts/ConfigurePython.py @ 9990:124ef694c284 legacy-trunk
Updated for new build and plugin paths
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 28 Jan 1999 17:46:50 +0000 |
| parents | c592c1771dfb |
| children | 3ad2b2e31f53 |
comparison
equal
deleted
inserted
replaced
| 9989:78ff203ead24 | 9990:124ef694c284 |
|---|---|
| 87 | 87 |
| 88 def gotopluginfolder(): | 88 def gotopluginfolder(): |
| 89 """Go to the plugin folder, assuming we are somewhere in the Python tree""" | 89 """Go to the plugin folder, assuming we are somewhere in the Python tree""" |
| 90 import os | 90 import os |
| 91 | 91 |
| 92 while not os.path.isdir(":Plugins"): | 92 while not os.path.isdir(":Mac:Plugins"): |
| 93 os.chdir("::") | 93 os.chdir("::") |
| 94 os.chdir(":Plugins") | 94 os.chdir(":Mac:Plugins") |
| 95 if verbose: print "current directory is", os.getcwd() | 95 if verbose: print "current directory is", os.getcwd() |
| 96 | 96 |
| 97 def loadtoolboxmodules(): | 97 def loadtoolboxmodules(): |
| 98 """Attempt to load the Res module""" | 98 """Attempt to load the Res module""" |
| 99 try: | 99 try: |
