Changeset 391 for python/trunk/Mac/IDLE
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 5 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/Info.plist.in
r2 r391 37 37 <string>IDLE</string> 38 38 <key>CFBundleGetInfoString</key> 39 <string>%VERSION%, © 001-2006Python Software Foundation</string>39 <string>%VERSION%, © 2001-2013 Python Software Foundation</string> 40 40 <key>CFBundleIconFile</key> 41 41 <string>IDLE.icns</string> … … 52 52 <key>CFBundleVersion</key> 53 53 <string>%VERSION%</string> 54 <key>NSHighResolutionCapable</key> 55 <true/> 56 <!-- 57 <key>LSMinimumSystemVersionByArchitecture</key> 58 <dict> 59 <key>x86_64</key> 60 <string>10.6.0</string> 61 <key>ppc64</key> 62 <string>10.6.0</string> 63 </dict> 64 --> 54 65 </dict> 55 66 </plist> -
python/trunk/Mac/IDLE/Makefile.in
r2 r391 11 11 builddir= ../.. 12 12 PYTHONFRAMEWORK=@PYTHONFRAMEWORK@ 13 LIPO_32BIT_FLAGS=@LIPO_32BIT_FLAGS@ 14 13 15 14 16 RUNSHARED= @RUNSHARED@ … … 23 25 BUNDLEBULDER=$(srcdir)/../../Lib/plat-mac/bundlebuilder.py 24 26 25 PYTHONAPPSDIR= /Applications/$(PYTHONFRAMEWORK) $(VERSION)27 PYTHONAPPSDIR=@FRAMEWORKINSTALLAPPSPREFIX@/$(PYTHONFRAMEWORK) $(VERSION) 26 28 27 29 all: IDLE.app … … 52 54 --resource=$(srcdir)/../Icons/PythonSource.icns \ 53 55 --resource=$(srcdir)/../Icons/PythonCompiled.icns \ 54 --python=$(prefix)/Resources/Python.app/Contents/MacOS/ $(PYTHONFRAMEWORK)`test -f "$(DESTDIR)$(prefix)/Resources/Python.app/Contents/MacOS/$(PYTHONFRAMEWORK)-32" && echo "-32"`\56 --python=$(prefix)/Resources/Python.app/Contents/MacOS/Python \ 55 57 build 56 58 ifneq ($(LIPO_32BIT_FLAGS),) 59 rm "IDLE.app/Contents/MacOS/Python" 60 lipo $(LIPO_32BIT_FLAGS) -output "IDLE.app/Contents/MacOS/Python" "$(BUILDPYTHON)" 61 endif 57 62 58 63 Info.plist: $(srcdir)/Info.plist.in -
python/trunk/Mac/IDLE/config-extensions.def
r2 r391 87 87 [CodeContext_bindings] 88 88 toggle-code-context= 89 90 [RstripExtension] 91 enable=1 92 enable_shell=0 93 enable_editor=1 -
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.