File tree Expand file tree Collapse file tree 5 files changed +53
-1
lines changed
Expand file tree Collapse file tree 5 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Run this script inside a dockcross container to build Python wheels for an ITK module
3+ # Run this script inside a dockcross container to build Python wheels for an ITK module.
4+ #
5+ # Versions can be restricted by passing them in as arguments to the script.
6+ # For example,
7+ #
8+ # /tmp/dockcross-manylinux-x64 manylinux-build-module-wheels.sh cp39
9+ #
10+ # Shared library dependencies can be included in the wheel by mounting them to /usr/lib64 or /usr/local/lib64
11+ # before running this script.
12+ #
13+ # For example,
14+ #
15+ # DOCKER_ARGS="-v /path/to/lib.so:/usr/local/lib64/lib.so"
16+ # /tmp/dockcross-manylinux-x64 -a "$DOCKER_ARGS" manylinux-build-module-wheels.sh
17+ #
418
519# -----------------------------------------------------------------------
620# These variables are set in common script:
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Run this script inside a dockcross container to build Python wheels for ITK.
4+ #
5+ # Versions can be restricted by passing them in as arguments to the script.
6+ # For example,
7+ #
8+ # /tmp/dockcross-manylinux-x64 manylinux-build-wheels.sh cp39
9+ #
10+ # Shared library dependencies can be included wheels by mounting them to /usr/lib64 or /usr/local/lib64
11+ # before running this script.
12+ #
13+ # For example,
14+ #
15+ # DOCKER_ARGS="-v /path/to/lib.so:/usr/local/lib64/lib.so"
16+ # /tmp/dockcross-manylinux-x64 -a "$DOCKER_ARGS" manylinux-build-wheels.sh
17+ #
18+
319# -----------------------------------------------------------------------
420# These variables are set in common script:
521#
Original file line number Diff line number Diff line change 77# For example,
88#
99# scripts/macpython-build-module-wheels.sh 2.7 3.5
10+ #
11+ # Shared libraries can be included in the wheel by exporting them to DYLD_LIBRARY_PATH before
12+ # running this script.
13+ #
14+ # For example,
15+ #
16+ # export DYLD_LIBRARY_PATH="/path/to/libs"
17+ # scripts/macpython-build-module-wheels.sh cp39
18+ #
1019
1120# -----------------------------------------------------------------------
1221# These variables are set in common script:
Original file line number Diff line number Diff line change 66# For example,
77#
88# scripts/macpython-build-wheels.sh 3.9
9+ #
10+ # Shared libraries can be included in the wheel by exporting them to DYLD_LIBRARY_PATH before
11+ # running this script.
12+ #
13+ # For example,
14+ #
15+ # export DYLD_LIBRARY_PATH="/path/to/libs"
16+ # scripts/macpython-build-module-wheels.sh cp39
17+ #
918
1019# -----------------------------------------------------------------------
1120# These variables are set in common script:
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python
2+
3+ # See usage with .\scripts\windows_build_module_wheels.py --help
4+
15from subprocess import check_call
26import os
37import glob
You can’t perform that action at this time.
0 commit comments