ITKPythonPackage icon indicating copy to clipboard operation
ITKPythonPackage copied to clipboard

WIP: Macos python build script

Open thewtex opened this issue 7 years ago • 6 comments

@fbudin69500 @jcfr

thewtex avatar May 03 '19 19:05 thewtex

@thewtex Is this outdated?

hjmjohnson avatar Feb 28 '20 20:02 hjmjohnson

It is still relevant, but is a WIP. I am working on a conda/conda-forge recipe, which is reusing some of the scripts in this repository. After that is working, we can revisit this to see how best to organize build scripts for re-use.

thewtex avatar Mar 05 '20 17:03 thewtex

FYI: I am trying to build wheels local on my machine (for debugging purposes) but can not figure out how to create the standard set of wheels. I think the scrips are hard-coded to only work inside the docker environments.

hjmjohnson avatar Mar 05 '20 18:03 hjmjohnson

A Docker environment is only used for Linux builds.

For macOS, the commands are

./scripts/macpython-install-python.sh
./scripts/macpython-build-wheels.sh

documented here: https://itkpythonpackage.readthedocs.io/en/latest/Build_ITK_Python_packages.html#macos

thewtex avatar Mar 06 '20 21:03 thewtex

Should this PR be closed now?

dzenanz avatar Nov 20 '25 20:11 dzenanz

This is a start to drive the mac build with a python script, which is cleaner.

thewtex avatar Nov 20 '25 21:11 thewtex