From b24eb56dd72f6e38cb44615f35fb077137a4b0f9 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Fri, 31 Jan 2025 01:38:13 +0100 Subject: [PATCH] Trying to solve pip issues. --- metacall.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/metacall.rb b/metacall.rb index c46d85b..e1bfae5 100644 --- a/metacall.rb +++ b/metacall.rb @@ -60,6 +60,10 @@ def install py3include = py3prefix/"include/python#{py3ver}" py3rootdir = py3prefix py3lib = py3prefix/"lib/libpython#{py3ver}.dylib" + py3pip = py3prefix/"lib/python#{py3ver}/site-packages" + + # Add pip site packages folder to target so the build system can find it + ENV.prepend_path "PIP_TARGET", py3pip # Set NodeJS resource("node").stage do