Skip to content

Commit

Permalink
ENH: Build packages for ITK 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jul 6, 2019
1 parent 88fd2c6 commit 9a785fd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/dockcross-manylinux-download-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ curl https://data.kitware.com/api/v1/file/592dd8068d777f16d01e1a92/download -o z
gunzip -d zstd-1.2.0-linux.tar.gz
tar xf zstd-1.2.0-linux.tar

curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0b01}/ITKPythonBuilds-linux.tar.zst -O
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0.0.post1}/ITKPythonBuilds-linux.tar.zst -O
./zstd-1.2.0-linux/bin/unzstd ITKPythonBuilds-linux.tar.zst -o ITKPythonBuilds-linux.tar
tar xf ITKPythonBuilds-linux.tar

Expand Down
4 changes: 2 additions & 2 deletions scripts/internal/manylinux-build-module-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ for PYBIN in "${PYBINARIES[@]}"; do
exit 1
fi
mkdir -p /work/standalone-${ARCH}-build
itk_source_dir=/work/standalone-${ARCH}-build/ITK-source
ln -fs /ITKPythonPackage/standalone-${ARCH}-build/ITK-source /work/standalone-${ARCH}-build/ITK-source
itk_source_dir=/work/standalone-${ARCH}-build/ITKs
ln -fs /ITKPythonPackage/standalone-${ARCH}-build/ITKs /work/standalone-${ARCH}-build/ITKs
if [[ ! -d ${itk_source_dir} ]]; then
echo 'ITK source tree not available!' 1>&2
exit 1
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='itk-vtkglue',
version='0.2.0',
version='0.2.1',
author='Insight Software Consortium',
author_email='itk+community@discourse.itk.org',
packages=['itk'],
Expand Down Expand Up @@ -44,7 +44,7 @@
keywords='ITK InsightToolkit',
url=r'https://www.itk.org/',
install_requires=[
r'itk>=5.0b01',
r'itk>=5.0.0.post1',
r'vtk==8.1.*'
]
)
7 changes: 5 additions & 2 deletions test/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
variables:
ITKGitTag: v5.0rc01
VTKGitTag: v8.1.2
ITKGitTag: v5.0.0
VTKGitTag: v8.1.1
ITKPythonGitTag: v5.0.0.post1
CMakeBuildType: Release

trigger:
Expand Down Expand Up @@ -167,6 +168,7 @@ jobs:

steps:
- script: |
export ITK_PACKAGE_VERSION=$(ITKPythonGitTag)
./scripts/dockcross-manylinux-download-cache.sh
./scripts/dockcross-manylinux-build-module-wheels.sh
displayName: 'Build Python packages'
Expand All @@ -187,6 +189,7 @@ jobs:
steps:
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
set ITK_PACKAGE_VERSION=$(ITKPythonGitTag)
set CC=cl.exe
set CXX=cl.exe
powershell.exe -file .\scripts\windows-download-cache.ps1
Expand Down

0 comments on commit 9a785fd

Please sign in to comment.