From e91ca9d5d3d1812dd759102d23485ddb0a87e7c0 Mon Sep 17 00:00:00 2001 From: Alastair Houghton Date: Mon, 31 May 2021 09:32:03 +0100 Subject: Fix wheel scripts up a bit --- build-osx | 2 +- fetch-win32-wheels | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/build-osx b/build-osx index c8ae0d7..896b353 100755 --- a/build-osx +++ b/build-osx @@ -7,7 +7,7 @@ fi eval "$(pyenv init -)" -VERSIONS="2.7.10 3.6.2 3.7.1" +VERSIONS="2.7.10 3.6.2 3.7.10 3.8.10 3.9.5" for version in $VERSIONS; do pyenv install -s "$version" diff --git a/fetch-win32-wheels b/fetch-win32-wheels index 830ffc3..439b0a2 100755 --- a/fetch-win32-wheels +++ b/fetch-win32-wheels @@ -19,7 +19,11 @@ win32_versions="27 34 35 36 37 38" amd64_versions="27 36 37 38" for version in $win32_versions; do - wheel=netifaces-$niversion-cp$version-cp${version}m-win32.whl + maybe_m= + if [ $version -lt 38 ]; then + maybe_m=m + fi + wheel=netifaces-$niversion-cp$version-cp${version}${maybe_m}-win32.whl url="$artifact_url/dist/$wheel?${maybetag}job=Environment:%20PYTHON=C:\\Python$version" echo -n "$wheel..." if curl -s -L -o wheelhouse/$wheel $url; then @@ -31,7 +35,11 @@ for version in $win32_versions; do done for version in $amd64_versions; do - wheel=netifaces-$niversion-cp$version-cp${version}m-win_amd64.whl + maybe_m= + if [ $version -lt 38 ]; then + maybe_m=m + fi + wheel=netifaces-$niversion-cp$version-cp${version}${maybe_m}-win_amd64.whl url="$artifact_url/dist/$wheel?${maybetag}job=Environment:%20PYTHON=C:\\Python$version-x64" echo -n "$wheel..." if curl -s -L -o wheelhouse/$wheel $url; then -- cgit v1.2.1