Changeset 391 for python/trunk/Mac/IDLE/idlemain.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Mac/IDLE/idlemain.py
r2 r391 49 49 # exported in PYTHONEXECUTABLE. 50 50 pyex = os.environ['PYTHONEXECUTABLE'] 51 sys.executable = os.path.join( os.path.dirname(pyex), os.readlink(pyex))51 sys.executable = os.path.join(sys.prefix, 'bin', 'python%d.%d'%(sys.version_info[:2])) 52 52 53 53 # Remove any sys.path entries for the Resources dir in the IDLE.app bundle. … … 69 69 70 70 # Now it is safe to import idlelib. 71 from idlelib import macosxSupport 72 macosxSupport._appbundle = True 71 73 from idlelib.PyShell import main 72 74 if __name__ == '__main__':
Note:
See TracChangeset
for help on using the changeset viewer.