|
1 | 1 | #!/bin/bash |
2 | 2 |
|
3 | | -# This module should be pulled and run from an ITKModule root directory to generate the Linux python wheels of this module, |
4 | | -# it is used by the azure-pipeline.yml file contained in ITKModuleTemplate: https://github.com/InsightSoftwareConsortium/ITKModuleTemplate |
| 3 | +######################################################################## |
| 4 | +# Pull this script and run from an ITK external module root directory |
| 5 | +# to generate the Linux Python wheels for the external module. |
5 | 6 | # |
6 | | -# Exported variables used in this script: |
7 | | -# - ITK_PACKAGE_VERSION: Tag for ITKPythonBuilds build archive to use |
8 | | -# Examples: "v5.3.0", "v5.2.1.post1" |
9 | | -# See available tags at https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/tags |
10 | | -# - MANYLINUX_VERSION: manylinux specialization to use |
11 | | -# Examples: "_2_28", "2014", "_2_28_aarch64" |
12 | | -# See https://github.com/dockcross/dockcross |
13 | | -# - ITKPYTHONPACKAGE_TAG: Tag for ITKPythonPackage build scripts to use. |
14 | | -# If ITKPYTHONPACKAGE_TAG is empty then the default scripts distributed |
15 | | -# with the ITKPythonBuilds archive will be used. |
16 | | -# - ITKPYTHONPACKAGE_ORG: Github organization or user to use for ITKPythonPackage |
17 | | -# build script source. Default is InsightSoftwareConsortium. |
18 | | -# Ignored if ITKPYTHONPACKAGE_TAG is empty. |
| 7 | +# ======================================================================== |
| 8 | +# PARAMETERS |
19 | 9 | # |
| 10 | +# Versions can be restricted by passing them in as arguments to the script |
| 11 | +# For example, |
| 12 | +# |
| 13 | +# scripts/dockcross-manylinux-build-module-wheels.sh cp39 |
| 14 | +# |
| 15 | +# =========================================== |
| 16 | +# ENVIRONMENT VARIABLES |
| 17 | +# |
| 18 | +# These variables are set with the `export` bash command before calling the script. |
| 19 | +# For example, |
| 20 | +# |
| 21 | +# export ITK_PACKAGE_VERSION="v5.3.0" |
| 22 | +# scripts/dockcross-manylinux-build-module-wheels.sh cp39 |
| 23 | +# |
| 24 | +# `ITKPYTHONPACKAGE_ORG`: Github organization for fetching ITKPythonPackage build scripts. |
| 25 | +# |
| 26 | +# `ITKPYTHONPACKAGE_TAG`: ITKPythonPackage tag for fetching build scripts. |
| 27 | +# |
| 28 | +# Additional environment variables may be defined in accompanying build scripts. |
| 29 | +# |
| 30 | +######################################################################## |
20 | 31 |
|
21 | 32 | # ----------------------------------------------------------------------- |
22 | 33 | # Script argument parsing |
|
0 commit comments