Skip to content

Commit 5be6b31

Browse files
committed
macpython: Do not install ninja again in module builds
Ninja is already installed and made available in the 2.7 venv earlier in the script. This works around an installation error that occurs wiht Python 3.6.
1 parent 8122f66 commit 5be6b31

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/macpython-build-module-wheels.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ for VENV in "${VENVS[@]}"; do
4545
if [[ -e $PWD/requirements-dev.txt ]]; then
4646
${PYTHON_EXECUTABLE} -m pip install --upgrade -r $PWD/requirements-dev.txt
4747
fi
48-
${PYTHON_EXECUTABLE} -m pip install --no-cache ninja
49-
NINJA_EXECUTABLE=${VENV}/bin/ninja
5048
itk_build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
5149
${PYTHON_EXECUTABLE} setup.py bdist_wheel --build-type MinSizeRel --plat-name macosx-10.9-x86_64 -G Ninja -- \
5250
-DCMAKE_MAKE_PROGRAM:FILEPATH=${NINJA_EXECUTABLE} \

0 commit comments

Comments
 (0)