Skip to content

Commit 14328fd

Browse files
committed
scripts/build-macos-app.sh: Update pip used for the build to ~=19.0
1 parent aa853b5 commit 14328fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/macos/build-macos-app.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ ln -fs ../Frameworks/Python.framework/Versions/${PYVER}/bin/python${PYVER} \
9797
"${APPDIR}"/Contents/MacOS/python
9898

9999
"${APPDIR}"/Contents/MacOS/python -m ensurepip
100-
"${APPDIR}"/Contents/MacOS/python -m pip install pip~=9.0 wheel
100+
"${APPDIR}"/Contents/MacOS/python -m pip install pip~=19.0 wheel
101101

102102
cat <<'EOF' > "${APPDIR}"/Contents/MacOS/Orange
103103
#!/bin/bash
@@ -131,7 +131,7 @@ chmod +x "${APPDIR}"/Contents/MacOS/pip
131131

132132
PYTHON="${APPDIR}"/Contents/MacOS/python
133133

134-
"${PYTHON}" -m pip install "${PIP_REQ_ARGS[@]}"
134+
"${PYTHON}" -m pip install --no-warn-script-location "${PIP_REQ_ARGS[@]}"
135135

136136
VERSION=$("${PYTHON}" -m pip show orange3 | grep -E '^Version:' |
137137
cut -d " " -f 2)

0 commit comments

Comments
 (0)