Skip to content

Commit cfb9d2c

Browse files
committed
WIP: test itkpythonpackage patch
1 parent 09fbde5 commit cfb9d2c

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

‎.github/workflows/build-test-package-python.yml‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,20 @@ jobs:
140140
7z x grep-win.zip -o/c/P/grep -aoa -r
141141
142142
# FIXME
143-
echo "/c/P/IPP contents"
144-
ls /c/P/IPP
145-
cat /c/P/IPP/requirements-dev.txt
143+
echo "Patching ITKPythonPackage"
144+
rm -rf /c/P/IPP/scripts/*
146145
rm /c/P/IPP/requirements-dev.txt
147-
echo "scikit-build==0.16.2" > /c/P/IPP/requirements-dev.txt
148-
echo "Updated requirements:"
146+
mkdir tmp
147+
pushd tmp
148+
git clone https://github.com/InsightSoftwareConsortium/ITKPythonPackage.git
149+
cd ITKPythonPackage
150+
git checkout 0ffe01952de43813e128561010ea2cec79b50075
151+
cp requirements-dev.txt /c/P/IPP/requirements-dev.txt
152+
cp -r scripts/* /c/P/IPP/scripts/
153+
popd
154+
echo "Updated contents"
149155
cat /c/P/IPP/requirements-dev.txt
156+
ls /c/P/IPP/scripts
150157
151158
152159
- name: 'Build 🐍 Python 📦 package'

0 commit comments

Comments
 (0)