From: W. Trevor King Date: Wed, 6 Mar 2013 03:37:50 +0000 (-0500) Subject: swc-installation-test-2.py: Add 'safari' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f27dfa378e01b594656116f713d83b2b8f2edda;p=swc-workshop.git 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. --- 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',