Added PYTHON_OS_VERSION 11 for OSX build to get python 3.11

This commit is contained in:
Akshay Joshi 2023-04-13 16:20:42 +05:30
parent d92a836647
commit 1131e0f742

View File

@ -12,6 +12,7 @@ _setup_env() {
fi fi
BUNDLE_DIR="${BUILD_ROOT}/${APP_NAME}.app" BUNDLE_DIR="${BUILD_ROOT}/${APP_NAME}.app"
DMG_NAME="${DIST_ROOT}"/$(echo "${APP_NAME}" | sed 's/ //g' | awk '{print tolower($0)}')-"${APP_LONG_VERSION}.dmg" DMG_NAME="${DIST_ROOT}"/$(echo "${APP_NAME}" | sed 's/ //g' | awk '{print tolower($0)}')-"${APP_LONG_VERSION}.dmg"
PYTHON_OS_VERSION="11"
} }
_cleanup() { _cleanup() {
@ -86,6 +87,7 @@ _create_python_env() {
"${BUILD_ROOT}/relocatable_python/make_relocatable_python_framework.py" \ "${BUILD_ROOT}/relocatable_python/make_relocatable_python_framework.py" \
--upgrade-pip \ --upgrade-pip \
--python-version "${PGADMIN_PYTHON_VERSION}" \ --python-version "${PGADMIN_PYTHON_VERSION}" \
--os-version "${PYTHON_OS_VERSION}" \
--pip-requirements "${SOURCE_DIR}/requirements.txt" \ --pip-requirements "${SOURCE_DIR}/requirements.txt" \
--destination "${BUNDLE_DIR}/Contents/Frameworks/" --destination "${BUNDLE_DIR}/Contents/Frameworks/"