Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

BUG: install SimpleITK.py with setup.py

The SimpleITK.py gets picked up by distutils.setup, by  being in the
current workings directory paths. Previous the working directory was
not being set and the SimpleITK.py files was not being installed into
Slicers python's site-package during installation.
  • Loading branch information...
commit f52634208648e982ff55f0132ef40df5e069fd06 1 parent 623fa2e
Bradley Lowekamp authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  SuperBuild/SimpleITK_install_step.cmake.in
3  SuperBuild/SimpleITK_install_step.cmake.in
@@ -3,6 +3,9 @@ set(ENV{LD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib")
3 3 set(ENV{DYLD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib")
4 4 set(ENV{VS_UNICODE_OUTPUT} "")
5 5
  6 +# The working path must be set to the location of the SimpleITK.py
  7 +# file so that it will be picked up by distuils setup, and installed
6 8 execute_process(
  9 + WORKING_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/SimpleITK-build/Wrapping"
7 10 COMMAND "@slicer_PYTHON_EXECUTABLE@" "@CMAKE_CURRENT_BINARY_DIR@/SimpleITK-build/Wrapping/PythonPackage/setup.py" install )
8 11

0 comments on commit f526342

Please sign in to comment.
Something went wrong with that request. Please try again.