File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ install_python_pyenv() {
3939
4040SUPPORTED_PYTHON_VERSIONS=(" 3.9" " 3.10" " 3.11" " 3.12" )
4141
42+ PYTHON_VERSION_MIN=${SUPPORTED_PYTHON_VERSIONS[0]}
43+ PY_TAG=" cp${PYTHON_VERSION_MIN// .} -abi3"
44+
4245for PYTHON_VERSION in " ${SUPPORTED_PYTHON_VERSIONS[@]} " ; do
4346 PYTHON=python${PYTHON_VERSION}
4447 install_python_pyenv ${PYTHON_VERSION}
@@ -48,7 +51,7 @@ for PYTHON_VERSION in "${SUPPORTED_PYTHON_VERSIONS[@]}"; do
4851 ${PYTHON} -m venv venv
4952
5053 # Install the wheel.
51- WHEEL_FILE=" wheels/google_crc32c-${PACKAGE_VERSION} -cp39-abi3 -manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
54+ WHEEL_FILE=" wheels/google_crc32c-${PACKAGE_VERSION} -${PY_TAG} -manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
5255 venv/bin/pip install ${WHEEL_FILE}
5356
5457 # Verify that the module is installed and peek at contents.
You can’t perform that action at this time.
0 commit comments