env block is not inherited
This commit is contained in:
parent
5997812ed2
commit
c7d82a3881
@ -24,9 +24,7 @@ class PythonRequirement < Requirement
|
||||
ENV.prepend_path "PATH", Formula["python"].opt_bin
|
||||
end
|
||||
|
||||
if python_binary == "python"
|
||||
ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages"
|
||||
end
|
||||
ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages"
|
||||
end
|
||||
|
||||
def python_short_version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user