diff options
Diffstat (limited to 'Library/Formula/awscli.rb')
| -rw-r--r-- | Library/Formula/awscli.rb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Library/Formula/awscli.rb b/Library/Formula/awscli.rb index be38c24c1..3946eef89 100644 --- a/Library/Formula/awscli.rb +++ b/Library/Formula/awscli.rb @@ -63,19 +63,11 @@ class Awscli < Formula 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}" ] - if build.head? then - resource("jmespath").stage { system "python", *install_args } + resources.each do |r| + r.stage { system "python", "setup.py", "install", "--prefix=#{libexec}" } end - resource("botocore").stage { system "python", *install_args } - resource("bcdoc").stage { system "python", *install_args } - resource("six").stage { system "python", *install_args } - resource("colorama").stage { system "python", *install_args } - resource("docutils").stage { system "python", *install_args } - resource("rsa").stage { system "python", *install_args } - system "python", "setup.py", "install", "--prefix=#{prefix}", "--single-version-externally-managed", "--record=installed.txt" |
