merging from bitbucket/callahad patch for #182

This commit is contained in:
Olivier Girardot 2011-12-10 13:56:03 +01:00 committed by Carl Meyer
parent 35479566e6
commit 3b320cbf50
1 changed files with 2 additions and 0 deletions

View File

@ -46,5 +46,7 @@ else:
default_config_file = os.path.join(default_storage_dir, 'pip.conf')
default_log_file = os.path.join(default_storage_dir, 'pip.log')
# Forcing to use /usr/local/bin for standard Mac OS X framework installs
# Also log to ~/Library/Logs/ for use with the Console.app log viewer
if sys.platform[:6] == 'darwin' and sys.prefix[:16] == '/System/Library/':
bin_py = '/usr/local/bin'
default_log_file = os.path.join(user_dir, 'Library/Logs/pip.log')