20846: Fix python build recipe.
authorTom Clegg <tom@curii.com>
Thu, 26 Oct 2023 13:45:45 +0000 (09:45 -0400)
committerTom Clegg <tom@curii.com>
Fri, 3 Nov 2023 20:00:11 +0000 (16:00 -0400)
See #20846#note-13.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/install/deps.go

index e15a386d16e9eef0238c715aa51319ca592cacfb..0d238d06faeea01d038af3217740496a6690b5a9 100644 (file)
@@ -604,9 +604,8 @@ pip3 install --no-cache-dir 'setuptools>=62.4.0' 'pip>=7'
 export ARVADOS_BUILDING_VERSION="`+inst.PackageVersion+`"
 for src in "`+inst.SourcePath+`/sdk/python" "`+inst.SourcePath+`/services/fuse"; do
   rsync -a --delete-after "$src/" "$tmp/"
-  cd "$tmp"
-  python3 setup.py install
-  cd ..
+  env -C "$tmp" python3 setup.py build
+  pip3 install "$tmp"
   rm -rf "$tmp"
 done
 `, stdout, stderr); err != nil {