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
|
ENV.prepend_path "PATH", Formula["python"].opt_bin
|
||||||
end
|
end
|
||||||
|
|
||||||
if python_binary == "python"
|
ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages"
|
||||||
ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def python_short_version
|
def python_short_version
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user