aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements/python_dependency.rb
diff options
context:
space:
mode:
authorSamuel John2013-09-03 10:41:54 +0200
committerSamuel John2013-09-03 10:41:54 +0200
commit9f7c616c1cb7b2301e790dde56fc2ce0107c39de (patch)
treed0afbd7437178c98367a066e8454902aceec974a /Library/Homebrew/requirements/python_dependency.rb
parent36ff1191ae2f2f86659ea5bbbaf028b5dbaf710a (diff)
downloadhomebrew-9f7c616c1cb7b2301e790dde56fc2ce0107c39de.tar.bz2
PythonInstalled: Adding a private_site_packages
that live in the `libexec` dir of a `Cellar`.
Diffstat (limited to 'Library/Homebrew/requirements/python_dependency.rb')
-rw-r--r--Library/Homebrew/requirements/python_dependency.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb
index 490a8f3c1..a64752766 100644
--- a/Library/Homebrew/requirements/python_dependency.rb
+++ b/Library/Homebrew/requirements/python_dependency.rb
@@ -19,6 +19,7 @@ class PythonInstalled < Requirement
attr_reader :imports
attr_reader :python
attr_accessor :site_packages
+ attr_accessor :private_site_packages
attr_writer :binary # The python.rb formula needs to set the binary
fatal true # you can still make Python optional by `depends_on :python => :optional`
@@ -70,6 +71,7 @@ class PythonInstalled < Requirement
# will be set later by the python_helper, because it needs the
# formula prefix to set site_packages
@site_packages = nil
+ @private_site_packages = nil
super tags
end