Get Python support of experimental_client_with_swig working again

This commit is contained in:
Philippe Teuwen 2023-11-13 10:10:44 +01:00
commit e0be057f62
7 changed files with 4 additions and 8 deletions

4
pm3
View file

@ -27,13 +27,9 @@ if [ ! "$1" == "--list" ]; then
echo >&2 "[!!] In devel workdir but no executable found, did you compile it?"
exit 1
fi
# Devel mode: point to workdir pm3.py module
EVALENV+=" PYTHONPATH=$PM3PATH/client/src"
# try install dir
elif [ -x "$PM3PATH/proxmark3" ]; then
CLIENT="$PM3PATH/proxmark3"
EVALENV+=" PYTHONPATH=$PM3PATH/../share/proxmark3/pyscripts/"
# or /usr/[local/]lib/python3/dist-packages/pm3.py ?
else
# hope it's installed somehow, still not sure where fw images and pm3.py are...
CLIENT="proxmark3"