From 2f27dfa378e01b594656116f713d83b2b8f2edda Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 5 Mar 2013 22:37:50 -0500 Subject: [PATCH] swc-installation-test-2.py: Add 'safari' This works adds support for virtual-browser on OS X. Matt Davis reports the locations of Firefox and Chrome as: /Applications/Firefox.app /Applications/Google\ Chrome.app but I'm not sure where the executables live underneath those directories, which we'd probably need if we wanted to extract version numbers. --- setup/swc-installation-test-2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/swc-installation-test-2.py b/setup/swc-installation-test-2.py index b545dda..89d6d46 100755 --- a/setup/swc-installation-test-2.py +++ b/setup/swc-installation-test-2.py @@ -579,6 +579,8 @@ for paths,name,long_name in [ 'textmate', 'TextMate'), ([_os.path.join(_os.sep, 'Applications', 'TextWrangler.app')], 'textwrangler', 'TextWrangler'), + ([_os.path.join(_os.sep, 'Applications', 'Safari.app')], + 'safari', 'Safari'), ([_os.path.join(_os.sep, 'Applications', 'Xcode.app'), # OS X >=1.7 _os.path.join(_os.sep, 'Developer', 'Applications', 'Xcode.app' ) # OS X 1.6, @@ -792,6 +794,7 @@ for name,long_name,dependencies in [ 'firefox', 'google-chrome', 'chromium', + 'safari', )), ('virtual-pypi-installer', 'PyPI installer', ( 'easy_install', -- 2.26.2