Skip to content

Commit

Permalink
Merge pull request #169988 from Homebrew/awscli-venv-dsl
Browse files Browse the repository at this point in the history
awscli: use `virtualenv_install_with_resources`
  • Loading branch information
p-linnane committed Apr 24, 2024
2 parents 3e0cce7 + 2e50d0b commit 81e6f0a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Formula/a/awscli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,7 @@ def install
ENV.append_to_cflags "-Wno-incompatible-function-pointer-types" if DevelopmentTools.clang_build_version >= 1500

# The `awscrt` resource requires `setuptools` & `wheel`, so they must be installed first
venv = virtualenv_create(libexec, "python3.11", system_site_packages: false)
venv.pip_install resources.reject { |r| r.name == "awscrt" }
venv.pip_install resource("awscrt")
venv.pip_install_and_link buildpath
virtualenv_install_with_resources(system_site_packages: false, end_with: "awscrt")

pkgshare.install "awscli/examples"

Expand Down

0 comments on commit 81e6f0a

Please sign in to comment.