Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Update list of python requirements to support python 3.9 instea…
…d of 3.6 This commit fixes the following build error: ``` Command failed: 1 '/Volumes/D/P/S-0-build/python-install/bin/PythonSlicer' '-m' 'pip' 'install' '--require-hashes' '-r' '/.../ShapeVariationAnalyzer-build/python-ShapeVariationAnalyzer-requirements-requirements.txt' '--prefix' '/.../ShapeVariationAnalyzer-build/python-packages-install' See also /.../ShapeVariationAnalyzer-build/python-ShapeVariationAnalyzer-requirements-prefix/src/python-ShapeVariationAnalyzer-requirements-stamp/python-ShapeVariationAnalyzer-requirements-install-*.log ``` The updates was performed following these steps using the updated "python_package_updater.py" script assocated with PR Slicer/Slicer#6300: ``` # Set common variables SLICER_SOURCE_DIR=~/Projects/Slicer SLICER_DIR=~/Projects/Slicer-Release/Slicer-build PYTHONSLICER_EXECUTABLE=${SLICER_DIR}/../python-install/bin/PythonSlicer EXTENSION_SOURCE_DIR=/home/jcfr/Projects/ShapeVariationAnalyzer EXTENSION_BINARY_DIR=/home/jcfr/Projects/ShapeVariationAnalyzer-Release # Install packages into the prefix PYTHON_INSTALL_PREFIX=${EXTENSION_BINARY_DIR}/python-packages-install ${PYTHONSLICER_EXECUTABLE} -m pip install --prefix ${PYTHON_INSTALL_PREFIX} scikit_learn # Update extension external projects UPDATER_SCRIPT=${SLICER_SOURCE_DIR}/Utilities/Scripts/python_package_updater.py ${PYTHONSLICER_EXECUTABLE} ${UPDATER_SCRIPT} \ -s ${EXTENSION_SOURCE_DIR}/SuperBuild \ --from-installed-packages \ --path ${PYTHON_INSTALL_PREFIX}/lib/python3.9/site-packages ``` This addresses the issue initiated here: #55 Co-authored-by: James Fishbaugh <james.fishbaugh@kitware.com>
- Loading branch information