Skip to content

Update python setuptools and add pip

Sam Horvath requested to merge update-python-setuptools-and-add-pip into master

Created by: jcfr

Testing on Ubuntu 15.10.

Would appreciate feedback on Windows and MacOSX

This PR improves Slicer build system to support creating Slicer extension bundling python packages (e.g https://github.com/Radiomics/SlicerRadiomics/pull/13)

It teaches ExtensionManagerModel about extension bundling python packages.

It teaches SlicerBlockAdditionalLauncherSettings.cmake how to support custom launcher setting for generating AdditionalLauncherSettings.ini used by tests.

It adds the following variables to both the build system and SlicerConfig:

  • PYTHON_STDLIB_SUBDIR
  • PYTHON_SITE_PACKAGES_SUBDIR
  • Slicer_USE_SYSTEM_python

It ensures AdditionalLauncherSettings.ini is configured only once. It will NOT be available anymore at the top-level for superbuild based extension. (this was an undesired side effect not a feature - and it caused the two files to be out of sync after introducing 420cfedf)

Packages updates:

  • setuptools from 5.4.1 to v35.0.1 (latest version to date).

  • include latest version of wheel and pip

  • update from Python 2.7.11 to 2.7.13

Cc: @fedorov @pieper

Merge request reports

Loading