about summary refs log tree commit diff
path: root/pkgs/applications/misc/far2l/python_prebuild.patch
blob: 87762da52e05465f39c2c166100b8c1e4d812287 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"