diff options
| author | Mike McQuaid | 2014-04-30 23:35:52 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-05-06 19:34:01 +0100 |
| commit | 781c7aa2da92baead5ed6dc34424e3ba7a99c601 (patch) | |
| tree | 960d86298311ece0579084fc3f1f118f0b1b44bf /Library/Formula | |
| parent | 15c123dd13b1d4291519d804a5565b6f6692fa89 (diff) | |
| download | homebrew-781c7aa2da92baead5ed6dc34424e3ba7a99c601.tar.bz2 | |
awscli: don't depend on :python.
Use the system Python instead.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/awscli.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/awscli.rb b/Library/Formula/awscli.rb index 897ab2659..c651a534c 100644 --- a/Library/Formula/awscli.rb +++ b/Library/Formula/awscli.rb @@ -21,7 +21,7 @@ class Awscli < Formula end end - depends_on :python + depends_on :python if MacOS.version <= :snow_leopard resource "botocore" do url "https://pypi.python.org/packages/source/b/botocore/botocore-0.42.0.tar.gz" @@ -54,6 +54,7 @@ class Awscli < Formula end def install + ENV["PYTHONPATH"] = lib+"python2.7/site-packages" ENV.prepend_create_path "PYTHONPATH", libexec+"lib/python2.7/site-packages" install_args = [ "setup.py", "install", "--prefix=#{libexec}" ] |
