blob: 45ea8e0baa9de3e5655060a0b82f86be87feacd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#!/bin/bash
#
# Fetch the Win32 wheels from Appveyor
#
if [ $# -lt 1 ]; then
echo "usage: fetch-win32-wheels <netifaces-version> [tag]"
exit 1;
fi
if [ $# -ge 2 ]; then
maybetag="tag=$2&"
else
maybetag=
fi
niversion=$1
artifact_url="https://ci.appveyor.com/api/projects/al45tair/netifaces/artifacts"
win32_versions="27 34 35 36 37 38"
amd64_versions="36 37 38"
for version in $win32_versions; do
wheel=netifaces-$niversion-cp$version-cp${version}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
echo "ok"
else
echo "failed"
exit 1
fi
done
for version in $amd64_versions; do
wheel=netifaces-$niversion-cp$version-cp${version}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
echo "ok"
else
echo "failed"
exit 1
fi
done
|