File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ install_python_pyenv() {
39
39
40
40
SUPPORTED_PYTHON_VERSIONS=(" 3.9" " 3.10" " 3.11" " 3.12" )
41
41
42
+ PYTHON_VERSION_MIN=${SUPPORTED_PYTHON_VERSIONS[0]}
43
+ PY_TAG=" cp${PYTHON_VERSION_MIN// .} -abi3"
44
+
42
45
for PYTHON_VERSION in " ${SUPPORTED_PYTHON_VERSIONS[@]} " ; do
43
46
PYTHON=python${PYTHON_VERSION}
44
47
install_python_pyenv ${PYTHON_VERSION}
@@ -48,7 +51,7 @@ for PYTHON_VERSION in "${SUPPORTED_PYTHON_VERSIONS[@]}"; do
48
51
${PYTHON} -m venv venv
49
52
50
53
# 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"
52
55
venv/bin/pip install ${WHEEL_FILE}
53
56
54
57
# Verify that the module is installed and peek at contents.
You can’t perform that action at this time.
0 commit comments