From 8ed0ab25f6fd8f3611996ba1aec8ad6b4339fea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Tue, 26 Nov 2024 19:50:41 +0100 Subject: [PATCH] FIX: Fix run of python examples This needs to be properly fixed --- bindings/python/run_examples.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bindings/python/run_examples.sh b/bindings/python/run_examples.sh index b6ad1b6..a56467d 100755 --- a/bindings/python/run_examples.sh +++ b/bindings/python/run_examples.sh @@ -9,6 +9,14 @@ if [ ! -d "$EXAMPLES_DIR" ]; then exit 1 fi +python -m venv venv +source venv/bin/activate +# not sure why this is needed +pip install patchelf +pip install maturin +pip install pytest +maturin develop + # Iterate over all Python files in the examples directory for file in "$EXAMPLES_DIR"/*.py; do # Check if there are any Python files