Slicer: 2145-support-for-installing-extension-from-file 140d5f4e

Author Committer Branch Timestamp Parent
jcfr jcfr 2145-support-for-installing-extension-from-file 2013-04-04 19:44:29 2145-support-for-installing-extension-from-file 77645344
Changeset

COMP: Update build-system to use CMake'ified python

Latest stable version 2.7.3 is now used instead of ancient 2.6.6

Directory layout has been updated:

  • Python-2.7.3 : source
  • python : build system
  • python-build : build tree
  • python-install : install tree

Associated external project has been simplified. Removed unneeded
custom configure, make and install steps. Also removed unneeded
patch steps.

Note that the pythonrun.h and pythonrun.c are still patched in order
to prevent crash (related to dll boundaries [1][2]) when building Slicer debug
against a released python.

[1] http://stackoverflow.com/questions/2322095/why-does-this-program-crash-passing-of-stdstring-between-dlls
[2] http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/57e0d522-a42c-4add-963d-c87c6e76f161

Since only library located in the "lib-dynload" folder are not duplicated
in the "site-packages" folder, removed the exclude pattern
from the fixup script and update the candidate pattern to consider the
python extension located in lib/python2.7/lib-dynload folder.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21863 3bd1e089-480b-0410-8dfb-8563597acbee

mod - CMake/CTestCustom.cmake.in Diff File
mod - CMake/SlicerBlockCTKAppLauncherSettings.cmake Diff File
mod - CMake/SlicerBlockInstallPython.cmake Diff File
mod - CMake/SlicerCPackBundleFixup.cmake.in Diff File
mod - SuperBuild/External_python.cmake Diff File
rm - SuperBuild/External_python_unix.cmake Diff File
rm - SuperBuild/External_python_win.cmake Diff File
mod - SuperBuild/NUMPY_environment.cmake.in Diff File
mod - SuperBuild/SimpleITK_install_step.cmake.in Diff File
mod - SuperBuild/VTK_build_step.cmake.in Diff File
rm - SuperBuild/python_configure_step.cmake.in Diff File
rm - SuperBuild/python_distutils_msvc9compiler.py.in Diff File
rm - SuperBuild/python_install_step.cmake.in Diff File
rm - SuperBuild/python_make_step.cmake.in Diff File
add - SuperBuild/python_patch_step.cmake.in Diff File
rm - SuperBuild/python_patch_step_unix.cmake.in Diff File
rm - SuperBuild/python_patch_step_win.cmake.in Diff File
rm - SuperBuild/python_setup.py.in Diff File
mod - SuperBuild/pythonrun.c.in Diff File
mod - SuperBuild/pythonrun.h.in Diff File
mod - SuperBuild/weave_configure_step.cmake.in Diff File
mod - SuperBuild/weave_make_step.cmake.in Diff File