snakeware

Python-based Linux distro for x86-64 and RPi
git clone git://squid-tech.com/snakeware.git
Log | Files | Refs | README

commit 7761456e1e187b155b709cb85a43285d5cfa4a0f
parent 39c593363734c09c463021f510a0ebaefd51c1d0
Author: Josh Moore <jxm5210@rit.edu>
Date:   Sun, 31 May 2020 18:28:43 -0400

Fix build - let buildroot install pygame

Diffstat:
Msnakeware/config/pip_modules.txt | 1-
Msnakeware/config/x86-64-buildroot-config | 7++++++-
Msnakeware/post-build.sh | 2+-
3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/snakeware/config/pip_modules.txt b/snakeware/config/pip_modules.txt @@ -1,2 +1 @@ -pygame pygame_gui diff --git a/snakeware/config/x86-64-buildroot-config b/snakeware/config/x86-64-buildroot-config @@ -1333,7 +1333,12 @@ BR2_PACKAGE_PYTHON_PIP=y # BR2_PACKAGE_PYTHON_PYDANTIC is not set # BR2_PACKAGE_PYTHON_PYELFTOOLS is not set # BR2_PACKAGE_PYTHON_PYFTPDLIB is not set -# BR2_PACKAGE_PYTHON_PYGAME is not set +BR2_PACKAGE_PYTHON_PYGAME=y +BR2_PACKAGE_PYTHON_PYGAME_IMAGE=y +BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES=y +BR2_PACKAGE_PYTHON_PYGAME_FONT=y +BR2_PACKAGE_PYTHON_PYGAME_MIXER=y +BR2_PACKAGE_PYTHON_PYGAME_MIXER_MUSIC=y # BR2_PACKAGE_PYTHON_PYGMENTS is not set # BR2_PACKAGE_PYTHON_PYHAMCREST is not set # BR2_PACKAGE_PYTHON_PYICU is not set diff --git a/snakeware/post-build.sh b/snakeware/post-build.sh @@ -7,7 +7,7 @@ PYLIBVER=python3.8 SNAKEWARE=$PWD/.. # install pip modules -$SNAKEWARE/buildroot/output/target/usr/bin/python3 -m pip install --global-option=build_ext --global-option="-I/usr/include/" -r $SNAKEWARE/config/pip_modules.txt +$SNAKEWARE/buildroot/output/target/usr/bin/python3 -m pip install --global-option=build_ext --global-option="-I/usr/include/python3.8" --global-option="-I/usr/include/" -r $SNAKEWARE/config/pip_modules.txt # copy snakewm rm -rf $SNAKEWARE/buildroot/output/target/usr/lib/$PYLIBVER/snakewm