From 2e50d0b0de1480656e90e59b8adc4552244b8f75 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Wed, 24 Apr 2024 12:08:55 -0400 Subject: [PATCH] awscli: use `virtualenv_install_with_resources` Signed-off-by: Michael Cho --- Formula/a/awscli.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Formula/a/awscli.rb b/Formula/a/awscli.rb index 472c58140f29..e7c7cf1d3290 100644 --- a/Formula/a/awscli.rb +++ b/Formula/a/awscli.rb @@ -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"