Commits

Ville Suoranta authored 2aa439926dc
Add download_wheels.pl utility script
No tags

utils/download_wheels.pl

Added
1 +use List::Util qw(pairs);
2 +#$version = $ARGV[0];
3 +@pythons = ("36","37","38");
4 +#@pythons = ("38");
5 +@platforms = ("linux_x86_64","manylinux2010_x86_64", "macosx_10_15_x86_64", "macosx_10_14_x86_64",, "macosx_11_0_x86_64");
6 +@packages = (
7 +"casadata", "2021.8.16",
8 +"casampi", "0.4.2",
9 +"casaplotms", "1.2.8",
10 +"casashell", "6.3.0.48",
11 +"casatasks", "6.3.0.48",
12 +"casatelemetry", "1.3.4",
13 +"casatestutils", "6.3.0.48",
14 +"casatools", "6.3.0.48",
15 +"casaviewer", "1.2.14",
16 +"almatasks","1.2.3",
17 +"casaplotserver","1.1.3"
18 +);
19 +my @pairs = pairs @packages;
20 +foreach $python (@pythons) {
21 + print ("Python: $python\n");
22 + foreach $platform (@platforms) {
23 + print ("Platform: $platform\n");
24 + foreach $pair (@pairs) {
25 + print("Downloading " . $pair->[0] . " version " . $pair->[1] . "\n");
26 + $package = $pair->[0];
27 + $version = $pair->[1];
28 + `pip download $package==$version --platform=$platform --python-version $python --no-deps`;
29 + }
30 + }
31 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut