summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-02-19 10:37:08 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-02-19 10:37:08 (GMT)
commitcef2f7cd186c43ca3eca8cfc3abd6a6931999740 (patch)
treecb3e44ca369aa72e53c12aedcf076e8b43b7c225
parent05107b6af7c492e8090bf3a2de06cc8930d84102 (diff)
downloadcpython-cef2f7cd186c43ca3eca8cfc3abd6a6931999740.zip
cpython-cef2f7cd186c43ca3eca8cfc3abd6a6931999740.tar.gz
cpython-cef2f7cd186c43ca3eca8cfc3abd6a6931999740.tar.bz2
Use pythonw as the default interpreter also for .py scripts (overridable
by the user), as this will cause the least surprises with scripts brought over from other unixen. Suggested by Kevin Altis.
-rw-r--r--Mac/OSX/PythonLauncher/factorySettings.plist13
1 files changed, 9 insertions, 4 deletions
diff --git a/Mac/OSX/PythonLauncher/factorySettings.plist b/Mac/OSX/PythonLauncher/factorySettings.plist
index 1d8d039..2d7ca7e 100644
--- a/Mac/OSX/PythonLauncher/factorySettings.plist
+++ b/Mac/OSX/PythonLauncher/factorySettings.plist
@@ -37,15 +37,15 @@
<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/>
@@ -68,6 +68,11 @@
<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>