Mercurial > cpython-lru_cache-weakref
comparison Mac/Tools/IDE/PythonIDE.py @ 30832:89dc069aad2c 2.3
- In PythonIDE, add the Tools/IDE directory as the second entry in
sys.path in stead of as the first, leaving PythonIDE.app/Contents/Resources
as the first one.
- When building the IDE for use with Apple-provided MacPython add
PythonIDEMain.py to the Resources folder.
Together these two makes fixes to PythonIDEMain available to Panther
users.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 01 Nov 2003 22:30:50 +0000 |
| parents | 05da7726c027 |
| children | 0729d1db5118 |
comparison
equal
deleted
inserted
replaced
| 30831:827d01df61a7 | 30832:89dc069aad2c |
|---|---|
| 47 | 47 |
| 48 else: | 48 else: |
| 49 # We are a fully frozen application | 49 # We are a fully frozen application |
| 50 ide_path = sys.argv[0] | 50 ide_path = sys.argv[0] |
| 51 if ide_path not in sys.path: | 51 if ide_path not in sys.path: |
| 52 sys.path.insert(0, ide_path) | 52 sys.path.insert(1, ide_path) |
| 53 | 53 |
| 54 | 54 |
| 55 init() | 55 init() |
| 56 del init | 56 del init |
| 57 | 57 |
