Skip to content

Commit 9d50c61

Browse files
committed
Merge branch 'master' into release
2 parents 9c266a1 + a31bb35 commit 9d50c61

15 files changed

+57
-24
lines changed

CMakeLists.txt

Lines changed: 2 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 master 2017-12-19
77-
set(ITK_GIT_TAG "e11bce2")
76+
# ITK nightly-master 2018-04-13
77+
set(ITK_GIT_TAG "87ef7db")
7878

7979
#-----------------------------------------------------------------------------
8080
# A separate project is used to download ITK, so that it can reused

docs/Build_ITK_Module_Python_packages.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Then, build the wheels::
109109
Windows
110110
-------
111111

112-
First, install Microsoft Visual C++ Compiler for Python 2.7, Visual Studio 2015, Git, and CMake, which should be added to the system PATH environmental variable.
112+
First, install Microsoft Visual Studio 2015, Git, and CMake, which should be added to the system PATH environmental variable.
113113

114114
Open a PowerShell terminal as Administrator, and install Python::
115115

@@ -146,11 +146,6 @@ Next, create a `~/.pypirc` file with your login credentials::
146146

147147
where `<your-username>` and `<your-password>` correspond to your PyPI account.
148148

149-
If you have a `GPG signing key
150-
<https://help.github.com/articles/generating-a-new-gpg-key/>`_, sign the wheels::
151-
152-
for whl in dist/*.whl; do gpg --detach-sign -a $whl; done
153-
154149
Then, upload wheels to the testing server::
155150

156151
python -m pip install twine

docs/Build_ITK_Python_packages.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Then, build the wheels::
6060
Windows
6161
-------
6262

63-
First, install Microsoft Visual C++ Compiler for Python 2.7, Visual Studio 2015, Git, and CMake, which should be added to the system PATH environmental variable.
63+
First, install Microsoft Visual Studio 2015, Git, and CMake, which should be added to the system PATH environmental variable.
6464

6565
Open a PowerShell terminal as Administrator, and install Python::
6666

@@ -81,7 +81,6 @@ In a PowerShell prompt::
8181

8282
Mode LastWriteTime Length Name
8383
---- ------------- ------ ----
84-
-a---- 4/9/2017 5:21 PM 59435508 itk-4.11.0.dev20170407-cp27-cp27m-win_amd64.whl
8584
-a---- 4/9/2017 11:14 PM 63274441 itk-4.11.0.dev20170407-cp35-cp35m-win_amd64.whl
8685
-a---- 4/10/2017 2:08 AM 63257220 itk-4.11.0.dev20170407-cp36-cp36m-win_amd64.whl
8786

itkVersion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = '4.13.0'
1+
VERSION = '5.0a01.dev20180413+16.g87ef7db'
22

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

scripts/dockcross-manylinux-build-module-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ script_dir=$(cd $(dirname $0) || exit 1; pwd)
2222

2323
# Build wheels
2424
mkdir -p dist
25-
DOCKER_ARGS="-v $(pwd)/dist:/work/dist/ -v "$script_dir/..":/ITKPythonPackage -v $(pwd)/tools:/tools"
25+
DOCKER_ARGS="-v $(pwd)/dist:/work/dist/ -v $script_dir/..:/ITKPythonPackage -v $(pwd)/tools:/tools"
2626
/tmp/dockcross-manylinux-x64 \
2727
-a "$DOCKER_ARGS" \
2828
"/ITKPythonPackage/scripts/internal/manylinux-build-module-wheels.sh" "$@"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
# This script creates a tarball of the ITK Python package build tree. It is
4+
# downloaded by the external module build scripts and used to build their
5+
# Python package on GitHub CI services.
6+
7+
cd /home/kitware/Packaging
8+
tar -c --to-stdout \
9+
ITKPythonPackage/ITK-* \
10+
ITKPythonPackage/standalone-* \
11+
ITKPythonPackage/scripts > ITKPythonBuilds-linux.tar
12+
/home/kitware/Support/zstd-build/programs/zstd -f \
13+
./ITKPythonBuilds-linux.tar \
14+
-o ./ITKPythonBuilds-linux.tar.zst

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 @@ wget -L https://data.kitware.com/api/v1/file/592dd8068d777f16d01e1a92/download -
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/v4.12.0.post1/ITKPythonBuilds-linux.tar.zst -O
10+
curl -L https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/v4.13.0/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/internal/windows_build_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from subprocess import check_call
44
import os
55

6-
DEFAULT_PY_ENVS = ["27-x64", "35-x64", "36-x64"]
6+
DEFAULT_PY_ENVS = ["35-x64", "36-x64"]
77

88
SCRIPT_DIR = os.path.dirname(__file__)
99
ROOT_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, "..", ".."))
@@ -32,7 +32,7 @@ def venv_paths(python_version):
3232
pip = os.path.join(venv_dir, "Scripts", "pip.exe")
3333

3434
ninja_executable = os.path.join(
35-
ROOT_DIR, "venv-27-x64", "Scripts", "ninja.exe")
35+
ROOT_DIR, "venv-35-x64", "Scripts", "ninja.exe")
3636
print("NINJA_EXECUTABLE:%s" % ninja_executable)
3737

3838
# Update PATH

scripts/macpython-build-module-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ for VENV in "${VENVS[@]}"; do
4848
${PYTHON_EXECUTABLE} -m pip install --no-cache ninja
4949
NINJA_EXECUTABLE=${VENV}/bin/ninja
5050
itk_build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
51-
${PYTHON_EXECUTABLE} setup.py bdist_wheel --build-type MinSizeRel --plat-name macosx-10.6-x86_64 -G Ninja -- \
51+
${PYTHON_EXECUTABLE} setup.py bdist_wheel --build-type MinSizeRel --plat-name macosx-10.9-x86_64 -G Ninja -- \
5252
-DCMAKE_MAKE_PROGRAM:FILEPATH=${NINJA_EXECUTABLE} \
5353
-DITK_DIR:PATH=${itk_build_path} \
5454
-DITK_USE_SYSTEM_SWIG:BOOL=ON \
5555
-DWRAP_ITK_INSTALL_COMPONENT_IDENTIFIER:STRING=PythonWheel \
5656
-DSWIG_EXECUTABLE:FILEPATH=${itk_build_path}/Wrapping/Generators/SwigInterface/swig/bin/swig \
57-
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.6 \
57+
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 \
5858
-DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 \
5959
-DBUILD_TESTING:BOOL=OFF \
6060
-DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE} \

scripts/macpython-build-tarball.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
# This script creates a tarball of the ITK Python package build tree. It is
4+
# downloaded by the external module build scripts and used to build their
5+
# Python package on GitHub CI services.
6+
7+
pushd /Users/kitware/Dashboards/ITK > /dev/null
8+
tar -cf ITKPythonBuilds-macosx.tar \
9+
ITKPythonPackage/ITK-* \
10+
ITKPythonPackage/standalone-* \
11+
ITKPythonPackage/venvs \
12+
ITKPythonPackageRequiredExtractionDir.txt \
13+
ITKPythonPackage/scripts
14+
/usr/local/bin/zstd -f \
15+
./ITKPythonBuilds-macosx.tar \
16+
-o ./ITKPythonBuilds-macosx.tar.zst
17+
popd > /dev/null

0 commit comments

Comments
 (0)