Skip to content

Commit

Permalink
python: do pip upgrade on prebuild step (touch #1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
elfmz committed Jan 4, 2022
1 parent 86c8da9 commit 28ad920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/src/prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ 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
"$DST/python/bin/python" -m pip install cffi debugpy pcpp
$PREPROCESSOR "$SRC/python/src/consts.gen" | sh > "${DST}/incpy/consts.h"

Expand Down

0 comments on commit 28ad920

Please sign in to comment.