summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Houghton <alastair@alastairs-place.net>2021-05-31 09:32:03 +0100
committerAlastair Houghton <alastair@alastairs-place.net>2021-05-31 09:32:03 +0100
commite91ca9d5d3d1812dd759102d23485ddb0a87e7c0 (patch)
tree02663b187522cf23d520715c9385e43de454dfae
parentec55b59e27542776f55e0f9e3213a75bf8e0f367 (diff)
downloadnetifaces-git-e91ca9d5d3d1812dd759102d23485ddb0a87e7c0.tar.gz
Fix wheel scripts up a bit
-rwxr-xr-xbuild-osx2
-rwxr-xr-xfetch-win32-wheels12
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