ansible: don't depend on :python.
Use the system Python instead.
This commit is contained in:
parent
c4dff845e2
commit
0ec612ab07
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Ansible < Formula
|
|||
|
||||
head 'https://github.com/ansible/ansible.git', :branch => 'devel'
|
||||
|
||||
depends_on :python
|
||||
depends_on :python if MacOS.version <= :snow_leopard
|
||||
depends_on 'libyaml'
|
||||
|
||||
option 'with-accelerate', "Enable accelerated mode"
|
||||
|
@ -45,6 +45,7 @@ class Ansible < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
ENV["PYTHONPATH"] = lib+"python2.7/site-packages"
|
||||
ENV.prepend_create_path 'PYTHONPATH', libexec+'lib/python2.7/site-packages'
|
||||
# HEAD additionally requires this to be present in PYTHONPATH, or else
|
||||
# ansible's own setup.py will fail.
|
||||
|
|
Loading…
Reference in a new issue