Skip to content

Commit a9e2d2c

Browse files
committed
ENH: Creation of the script that should be pulled and ran in the ITK modules in order to create Linux Python wheels
1 parent 654c930 commit a9e2d2c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

scripts/createLinuxPythonWheels.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
# This module should be pull and run from an ITKModule root directory to generate the Linux python wheels of this module,
4+
# it is used by the circle.yml file contained in ITKModuleTemplate: https://github.com/InsightSoftwareConsortium/ITKModuleTemplate
5+
6+
wget -L https://data.kitware.com/api/v1/file/592dd8068d777f16d01e1a92/download -O zstd-1.2.0-linux.tar.gz
7+
gunzip -d zstd-1.2.0-linux.tar.gz
8+
tar xf zstd-1.2.0-linux.tar
9+
10+
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/latest/ITKPythonBuilds-linux.tar.zst -O ITKPythonBuilds-linux.tar.zst
11+
./zstd-1.2.0-linux/bin/unzstd ITKPythonBuilds-linux.tar.zst -o ITKPythonBuilds-linux.tar
12+
tar xf ITKPythonBuilds-linux.tar
13+
14+
./ITKPythonPackage/scripts/dockcross-manylinux-build-module-wheels.sh

0 commit comments

Comments
 (0)