diff options
| author | Mike McQuaid | 2017-07-15 17:27:47 +0100 |
|---|---|---|
| committer | GitHub | 2017-07-15 17:27:47 +0100 |
| commit | fb9015458993740efcca4ada0f1909519442bee5 (patch) | |
| tree | 520ea9efd0f1cc3ffbdf3177f26ec51d39b194ab | |
| parent | 207ffd6d4f404c4093efbf24c19650730fbb27e4 (diff) | |
| parent | f08b5184816fdc99db8cd0dac1e4debbb2a8c14a (diff) | |
| download | brew-fb9015458993740efcca4ada0f1909519442bee5.tar.bz2 | |
Merge pull request #2897 from MikeMcQuaid/python@2
python_requirement: add libexec/bin to PATH.
| -rw-r--r-- | Library/Homebrew/requirements/python_requirement.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/python_requirement.rb b/Library/Homebrew/requirements/python_requirement.rb index e62ec4cfe..a4d34c839 100644 --- a/Library/Homebrew/requirements/python_requirement.rb +++ b/Library/Homebrew/requirements/python_requirement.rb @@ -21,6 +21,7 @@ class PythonRequirement < Requirement # Homebrew Python should take precedence over older Pythons in the PATH elsif short_version != Version.create("2.7") ENV.prepend_path "PATH", Formula["python"].opt_bin + ENV.prepend_path "PATH", Formula["python"].opt_libexec/"bin" end ENV["PYTHONPATH"] = "#{HOMEBREW_PREFIX}/lib/python#{short_version}/site-packages" |
