21 lines
871 B
Diff
21 lines
871 B
Diff
diff --git i/python/src/prebuild.sh w/python/src/prebuild.sh
|
|
index d2847ee5..aa1ecc53 100755
|
|
--- i/python/src/prebuild.sh
|
|
+++ w/python/src/prebuild.sh
|
|
@@ -12,9 +12,6 @@ mkdir -p "$DST/incpy"
|
|
if [ ! -f "$DST/python/.prepared" ]; then
|
|
echo "Preparing python virtual env at $DST/python using $PYTHON"
|
|
mkdir -p "$DST/python"
|
|
- $PYTHON -m venv --system-site-packages "$DST/python"
|
|
- "$DST/python/bin/python" -m pip install --upgrade pip || true
|
|
- "$DST/python/bin/python" -m pip install --ignore-installed cffi debugpy pcpp
|
|
$PREPROCESSOR "$SRC/python/src/consts.gen" | sh > "${DST}/incpy/consts.h"
|
|
|
|
echo "1" > "$DST/python/.prepared"
|
|
@@ -26,4 +23,4 @@ cp -f -R \
|
|
"$SRC/python/configs/plug/far2l/"* \
|
|
"$DST/incpy/"
|
|
|
|
-"$DST/python/bin/python" "$SRC/python/src/pythongen.py" "${SRC}" "${DST}/incpy"
|
|
+"python" "$SRC/python/src/pythongen.py" "${SRC}" "${DST}/incpy"
|