]> granicus.if.org Git - python/commitdiff
Use pythonw as the default interpreter also for .py scripts (overridable
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 19 Feb 2003 10:37:08 +0000 (10:37 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 19 Feb 2003 10:37:08 +0000 (10:37 +0000)
by the user), as this will cause the least surprises with scripts
brought over from other unixen. Suggested by Kevin Altis.

Mac/OSX/PythonLauncher/factorySettings.plist

index 1d8d039e8e508fd69460a02fe2ad91d203fffc01..2d7ca7e1988371e9594208237ee70bac6b14d848 100644 (file)
                 <false/>
                 <key>interpreter_list</key>
                 <array>
-                    <string>/usr/local/bin/python</string>
-                    <string>/sw/bin/python</string>
-                    <string>/Library/Frameworks/Python.framework/Versions/Current/bin/python</string>
-                    <string>/usr/bin/python</string>
                     <string>/usr/local/bin/pythonw</string>
                     <string>/sw/bin/pythonw</string>
                     <string>/Library/Frameworks/Python.framework/Versions/Current/Resources/Python.app/Contents/MacOS/python</string>
                     <string>/usr/bin/pythonw</string>
                     <string>/Applications/MacPython-OSX/python-additions/Python.app/Contents/MacOS/python</string>
+                    <string>/usr/local/bin/python</string>
+                    <string>/sw/bin/python</string>
+                    <string>/Library/Frameworks/Python.framework/Versions/Current/bin/python</string>
+                    <string>/usr/bin/python</string>
                 </array>
                 <key>honourhashbang</key>
                 <false/>
                 <false/>
                 <key>interpreter_list</key>
                 <array>
+                    <string>/usr/local/bin/pythonw</string>
+                    <string>/sw/bin/pythonw</string>
+                    <string>/Library/Frameworks/Python.framework/Versions/Current/Resources/Python.app/Contents/MacOS/python</string>
+                    <string>/usr/bin/pythonw</string>
+                    <string>/Applications/MacPython-OSX/python-additions/Python.app/Contents/MacOS/python</string>
                     <string>/usr/local/bin/python</string>
                     <string>/sw/bin/python</string>
                     <string>/Library/Frameworks/Python.framework/Versions/Current/bin/python</string>