From 215b584c3b51bec001b8e9ed0985bfcf23173bad Mon Sep 17 00:00:00 2001 From: Samuel John Date: Wed, 19 Jun 2013 12:18:48 +0200 Subject: [PATCH] depends_on :python => 'module' allow user packages Some prefer to install with `--user` into their home. For example to avoid `sudo` with system's python. Now Homebrew can use those modules to satisfy a python dependency on a certain module. --- Library/Homebrew/requirements/python_dependency.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb index 610bc1c6b9..90bd14fa6b 100644 --- a/Library/Homebrew/requirements/python_dependency.rb +++ b/Library/Homebrew/requirements/python_dependency.rb @@ -258,7 +258,6 @@ class PythonInstalled < Requirement ENV.prepend 'PATH', binary.dirname, ':' unless from_osx? ENV['PYTHONHOME'] = nil # to avoid fuck-ups. - ENV['PYTHONNOUSERSITE'] = '1' ENV['PYTHONPATH'] = global_site_packages.to_s unless brewed? # Python respects the ARCHFLAGS var if set. Shall we set them here? # ENV['ARCHFLAGS'] = ??? # FIXME