mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
ONEDIR for Windows and anything that's not StaticX
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -538,13 +538,11 @@ jobs:
|
|||||||
# brew OpenSSL gets picked up by PyInstaller
|
# brew OpenSSL gets picked up by PyInstaller
|
||||||
# breaking our self-compiled version
|
# breaking our self-compiled version
|
||||||
brew uninstall --ignore-dependencies openssl
|
brew uninstall --ignore-dependencies openssl
|
||||||
export PYINSTALLER_BUILD_ONEDIR=yes
|
|
||||||
elif [[ "${RUNNER_OS}" == "Windows" ]]; then
|
elif [[ "${RUNNER_OS}" == "Windows" ]]; then
|
||||||
# Work around issue where PyInstaller picks up python3.dll from other Python versions
|
# Work around issue where PyInstaller picks up python3.dll from other Python versions
|
||||||
# https://github.com/pyinstaller/pyinstaller/issues/7102
|
# https://github.com/pyinstaller/pyinstaller/issues/7102
|
||||||
export PATH="$(dirname ${PYTHON}):/usr/bin"
|
export PATH="$(dirname ${PYTHON}):/usr/bin"
|
||||||
export PYINSTALLER_BUILD_ONEDIR=no
|
if [[ "${staticx}" != "yes" ]]; then
|
||||||
elif [[ "${staticx}" != "yes" ]]; then
|
|
||||||
export PYINSTALLER_BUILD_ONEDIR=yes
|
export PYINSTALLER_BUILD_ONEDIR=yes
|
||||||
fi
|
fi
|
||||||
"${PYTHON}" -m PyInstaller --clean --noconfirm --distpath="${distpath}" gam.spec
|
"${PYTHON}" -m PyInstaller --clean --noconfirm --distpath="${distpath}" gam.spec
|
||||||
|
|||||||
Reference in New Issue
Block a user