FIX: Fix run of python examples
This needs to be properly fixed
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
949eafc97f
commit
8ed0ab25f6
@@ -9,6 +9,14 @@ if [ ! -d "$EXAMPLES_DIR" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
# Iterate over all Python files in the examples directory
|
||||||
for file in "$EXAMPLES_DIR"/*.py; do
|
for file in "$EXAMPLES_DIR"/*.py; do
|
||||||
# Check if there are any Python files
|
# Check if there are any Python files
|
||||||
|
|||||||
Reference in New Issue
Block a user