Call install_headers.py.

This commit is contained in:
Tom Rothamel
2024-09-13 22:22:03 -04:00
parent f0dfe18bbf
commit a0963c18ee
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -78,6 +78,7 @@ Then, install pygame_sdl2 by running the following commands::
git clone https://www.github.com/renpy/pygame_sdl2
pushd pygame_sdl2
python setup.py install
python install_headers.py $VIRTUAL_ENV
popd
Next, set RENPY_DEPS_INSTALL To a \:-separated (\;-separated on Windows)
+6
View File
@@ -43,6 +43,10 @@ setup () {
build -b build/lib.$variant -t build/tmp.$variant $BUILD_J \
$RENPY_BUILD_ARGS install $ADAPT_TO_SETUPTOOLS
if [ -e install_headers.py ]; then
python install_headers.py $VIRTUAL_ENV
fi
popd >/dev/null
}
@@ -50,6 +54,8 @@ if [ -e "$ROOT/pygame_sdl2" ]; then
setup "$ROOT/pygame_sdl2/"
fi
if [ -e "$ROOT/cubism" ]; then
export CUBISM="$ROOT/cubism"
export CUBISM_PLATFORM=${CUBISM_PLATFORM:-linux/x86_64}