introduce PYTHON_EXE variable in template for RPATH wrapper script (to easily replace name of python command to use in buildenv easyblock)#4984
Conversation
python3 instead of hard-coding the path to python executable path in RPATH wrapper scripts
|
I'm OK with this in principle, but I do wonder if it can lead to surprises... Maybe we should only use Would that make sense @smoors? This is about the RPATH wrappers that are kept with |
EDIT: |
python3 instead of hard-coding the path to python executable path in RPATH wrapper scriptsPYTHON_EXE variable in template for RPATH wrapper script (to easily replace name of python command to use in buildenv easyblock)
boegel
left a comment
There was a problem hiding this comment.
lgtm, this is pretty much a no-brainer now, actual change is being made in:
we run easybuild in a venv, causing the wrappers contain the absolute path to the python executable in the venv, and thus is unusable for our users.
EDIT:
changed this PR to use a shell variable for the python executable, which makes it easier to substitute it with
python3in thebuildenveasyblock, see easybuilders/easybuild-easyblocks#3910