Skip to content

ENH: Add script to install python packages locally - #978

Open
axel-grc wants to merge 1 commit into
RTKConsortium:mainfrom
axel-grc:PythonInstall
Open

ENH: Add script to install python packages locally#978
axel-grc wants to merge 1 commit into
RTKConsortium:mainfrom
axel-grc:PythonInstall

Conversation

@axel-grc

Copy link
Copy Markdown
Collaborator

No description provided.

@axel-grc
axel-grc requested a review from SimonRit August 24, 2026 07:59

@SimonRit SimonRit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, just two small questions below

#
# All paths below can be overridden via environment variables.

set -euo pipefail

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-eu look good. Why set -o pipefail? There is no pipe here as far as I can tell.
I would also consider adding -x

--config-settings=cmake.define.ITK_USE_PYTHON_LIMITED_API=OFF
)
echo "==> Installing RTK Python package (editable)"
rm -rf "$RTK_PIP_BUILD_DIR"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we keep the build directory to avoid recompiling from scratch for C++ changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants