Skip to content

Commit b2d101b

Browse files
committed
Merge branch 'master' into release
2 parents fff5304 + ac441e7 commit b2d101b

7 files changed

+18
-7
lines changed

CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ if(ITKPythonPackage_SUPERBUILD)
7373
include(ExternalProject)
7474

7575
set(ITK_REPOSITORY "https://github.com/InsightSoftwareConsortium/ITK.git")
76-
# ITK release 2019-02-01
77-
set(ITK_GIT_TAG "3a11b90d06513")
76+
# ITK nightly-master 2019-04-25
77+
set(ITK_GIT_TAG "c351787a26")
7878

7979
#-----------------------------------------------------------------------------
8080
# A separate project is used to download ITK, so that it can reused
@@ -137,6 +137,9 @@ if(ITKPythonPackage_SUPERBUILD)
137137
if(DEFINED PYTHON_EXECUTABLE AND NOT EXISTS ${PYTHON_EXECUTABLE})
138138
message(FATAL_ERROR "PYTHON_EXECUTABLE variable is defined but corresponds to nonexistent file")
139139
endif()
140+
if(DEFINED DOXYGEN_EXECUTABLE AND NOT EXISTS ${DOXYGEN_EXECUTABLE})
141+
message(FATAL_ERROR "DOXYGEN_EXECUTABLE variable is defined but corresponds to nonexistent file")
142+
endif()
140143

141144
if(NOT DEFINED PYTHON_INCLUDE_DIR
142145
OR NOT DEFINED PYTHON_LIBRARY
@@ -146,6 +149,9 @@ if(ITKPythonPackage_SUPERBUILD)
146149
find_package ( PythonInterp REQUIRED )
147150

148151
endif()
152+
if(NOT DEFINED DOXYGEN_EXECUTABLE)
153+
find_package(Doxygen REQUIRED)
154+
endif()
149155

150156
message(STATUS "SuperBuild - PYTHON_INCLUDE_DIR: ${PYTHON_INCLUDE_DIR}")
151157
message(STATUS "SuperBuild - PYTHON_LIBRARY: ${PYTHON_LIBRARY}")

docs/Build_ITK_Module_Python_packages.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ First, install Microsoft Visual Studio 2015, Git, and CMake, which should be add
115115
Open a PowerShell terminal as Administrator, and install Python::
116116

117117
PS C:\> Set-ExecutionPolicy Unrestricted
118+
PS C:\> $pythonArch = "64"
118119
PS C:\> iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/windows/install-python.ps1'))
119120

120121
In a PowerShell prompt, run the `windows-build-wheels.ps1` script::

docs/Build_ITK_Python_packages.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ First, install Microsoft Visual Studio 2015, Git, and CMake, which should be add
6565
Open a PowerShell terminal as Administrator, and install Python::
6666

6767
PS C:\> Set-ExecutionPolicy Unrestricted
68+
PS C:\> $pythonArch = "64"
6869
PS C:\> iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/windows/install-python.ps1'))
6970

7071
In a PowerShell prompt::

itkVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '5.0rc1'
1+
VERSION = '5.0rc01.dev20190425+471.gc351787a26'
22

33
def get_versions():
44
"""Returns versions for the ITK Python package.

scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ curl https://data.kitware.com/api/v1/file/592dd8068d777f16d01e1a92/download -o z
77
gunzip -d zstd-1.2.0-linux.tar.gz
88
tar xf zstd-1.2.0-linux.tar
99

10-
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0b03}/ITKPythonBuilds-linux.tar.zst -O
10+
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0rc01}/ITKPythonBuilds-linux.tar.zst -O
1111
./zstd-1.2.0-linux/bin/unzstd ITKPythonBuilds-linux.tar.zst -o ITKPythonBuilds-linux.tar
1212
tar xf ITKPythonBuilds-linux.tar
1313

scripts/macpython-download-cache-and-build-module-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
brew update
77
brew install zstd aria2 gnu-tar doxygen
88
brew upgrade cmake
9-
aria2c -c --file-allocation=none -o ITKPythonBuilds-macosx.tar.zst -s 10 -x 10 https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0b03}/ITKPythonBuilds-macosx.tar.zst
9+
aria2c -c --file-allocation=none -o ITKPythonBuilds-macosx.tar.zst -s 10 -x 10 https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0rc01}/ITKPythonBuilds-macosx.tar.zst
1010
unzstd ITKPythonBuilds-macosx.tar.zst -o ITKPythonBuilds-macosx.tar
1111
PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"
1212
tar xf ITKPythonBuilds-macosx.tar --checkpoint=10000 --checkpoint-action=dot

scripts/windows-download-cache-and-build-module-wheels.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ $AllProtocols = [System.Net.SecurityProtocolType]'Ssl3,Tls,Tls11,Tls12'
33
[System.Net.ServicePointManager]::SecurityProtocol = $AllProtocols
44

55
set-alias sz "$env:ProgramFiles\7-Zip\7z.exe"
6-
if (-not (Test-Path env:APPVEYOR)) { iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/windows/install-python.ps1')) }
7-
if (-not (Test-Path env:ITK_PACKAGE_VERSION)) { $env:ITK_PACKAGE_VERSION = 'v5.0b03' }
6+
if (-not (Test-Path env:APPVEYOR)) {
7+
$pythonArch = "64"
8+
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/scikit-build/scikit-ci-addons/master/windows/install-python.ps1'))
9+
}
10+
if (-not (Test-Path env:ITK_PACKAGE_VERSION)) { $env:ITK_PACKAGE_VERSION = 'v5.0rc01' }
811
Invoke-WebRequest -Uri "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/$env:ITK_PACKAGE_VERSION/ITKPythonBuilds-windows.zip" -OutFile "ITKPythonBuilds-windows.zip"
912
sz x ITKPythonBuilds-windows.zip -oC:\P -aoa -r
1013
Invoke-WebRequest -Uri "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -OutFile "doxygen-1.8.11.windows.bin.zip"

0 commit comments

Comments
 (0)