FIX: Fix run of python examples

This needs to be properly fixed
This commit is contained in:
Nicolás Hatcher
2024-11-26 19:50:41 +01:00
committed by Nicolás Hatcher Andrés
parent 949eafc97f
commit 8ed0ab25f6

View File

@@ -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