Skip to content

Commit a28af22

Browse files
committed
Fix doc on pygame install on macOS
pip3 now requires --break-system-packages
1 parent d1970c0 commit a28af22

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build-and-publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: |
8181
brew tap dciabrin/ngdevkit
8282
brew install automake ngdevkit-toolchain python3 zip pkg-config
83-
$PY3PATH/pip3 install pygame
83+
$PY3PATH/pip3 install pygame --break-system-packages
8484
8585
- name: Build
8686
run: ./.github/scripts/build.sh

.github/workflows/build-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: |
8181
brew tap dciabrin/ngdevkit
8282
brew install automake ngdevkit-toolchain python3 zip pkg-config
83-
$PY3PATH/pip3 install pygame
83+
$PY3PATH/pip3 install pygame --break-system-packages
8484
8585
- name: Build
8686
run: ./.github/scripts/build.sh

README-macos.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Then, ngdevkit's dependencies are installed as follows:
4949
# make sure you use brew's python3 to install pygame
5050
# if not, update your path like e.g.
5151
# export PATH=$HOMEBREW_PREFIX/opt/python3/bin:$PATH
52-
pip3 install pygame
52+
pip3 install pygame --break-system-packages
5353
brew deps gcc | xargs brew install
5454
brew deps sdcc | xargs brew install
5555
# dependencies for the example ROMs

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ packages, available in the ngdevkit tap:
8181
brew install ngdevkit ngdevkit-gngeo
8282
# make sure you use brew's python3 in your shell
8383
export PATH=$HOMEBREW_PREFIX/opt/python3/bin:$PATH
84-
pip3 install pygame
84+
pip3 install pygame --break-system-packages
8585
# the remaining packages are only required for the examples
8686
brew install pkg-config autoconf automake zip imagemagick sox
8787

0 commit comments

Comments
 (0)