Skip to content

Commit

Permalink
system python fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antmak committed Dec 1, 2023
1 parent 78061ce commit 23c24f5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/scripts/prerequisites-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ brew install \
pixman \
pkg-config \
&& :

PYFIX_FILE=/usr/local/Cellar/glib/2.78.1/share/glib-2.0/codegen/utils.py
if [ -f "${PYFIX_FILE}" ] ; then
python3 -m pip install --upgrade pip
python3 -m pip install packaging
python3 -m pip freeze

sed -i='' "s/distutils.version/packaging/" "${PYFIX_FILE}"
grep -v "^#" "${PYFIX_FILE}" | head
fi

0 comments on commit 23c24f5

Please sign in to comment.