summaryrefslogtreecommitdiff
path: root/pip/locations.py
diff options
context:
space:
mode:
Diffstat (limited to 'pip/locations.py')
-rw-r--r--pip/locations.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pip/locations.py b/pip/locations.py
index b439bd375..34c6dbbe6 100644
--- a/pip/locations.py
+++ b/pip/locations.py
@@ -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')