summaryrefslogtreecommitdiff
path: root/pip/locations.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-02-16 21:09:00 +0100
committerJannis Leidel <jannis@leidel.info>2012-02-16 21:09:00 +0100
commitee554dd82b8bc6ed9a3cf989b353126580fcc082 (patch)
treeb0604f39ed465673316fe94ffa29046ed868aafc /pip/locations.py
parent47f1b2c2b2523469e6107cb2ef325eb61fa8fcf1 (diff)
parent40ac381fad2cc31f75014f02d3e8bf755d933abb (diff)
downloadpip-1.1.tar.gz
Merge branch 'release/1.1'1.1
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')