Skip to content

Commit c4b6d45

Browse files
authored
Merge pull request #155 from pimoroni/patch-pip-prefer-binary
Prefer pip binary installs for #154.
2 parents 2109ff6 + e85fab9 commit c4b6d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,13 @@ function apt_pkg_install {
162162

163163
function pip_pkg_install {
164164
# A null Keyring prevents pip stalling in the background
165-
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring $PYTHON -m pip install --upgrade "$@"
165+
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring $PYTHON -m pip install --prefer-binary --upgrade "$@"
166166
check_for_error
167167
}
168168

169169
function pip_requirements_install {
170170
# A null Keyring prevents pip stalling in the background
171-
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring $PYTHON -m pip install -r "$@"
171+
PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring $PYTHON -m pip install --prefer-binary -r "$@"
172172
check_for_error
173173
}
174174

0 commit comments

Comments
 (0)