Skip to content

ensure right 'python' command is used to determine Python lib dir when system Python is used with PythonBundle easyblock#1961

Merged
akesandgren merged 1 commit intoeasybuilders:developfrom
boegel:fix_pythonbundle_system_python
Feb 13, 2020
Merged

ensure right 'python' command is used to determine Python lib dir when system Python is used with PythonBundle easyblock#1961
akesandgren merged 1 commit intoeasybuilders:developfrom
boegel:fix_pythonbundle_system_python

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Feb 13, 2020

required for easybuilders/easybuild-easyconfigs#9859 in case python is available in the OS, but python3 is used to run EasyBuild; without this fix, $PYTHONPATH gets set incorrectly (using lib/python2.7/site-packages rather than lib/python3.6/site-packages) in the generated module file...

similar fix was done in PythonPackage in #1907, but that doesn't help with PythonBundle...

…n system Python is used with PythonBundle easyblock
Copy link
Copy Markdown
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM

@akesandgren
Copy link
Copy Markdown
Contributor

Going in, thanks @boegel!

@akesandgren akesandgren merged commit 269bbf1 into easybuilders:develop Feb 13, 2020
@boegel boegel deleted the fix_pythonbundle_system_python branch February 16, 2020 10:05
@boegel boegel added the python3 Python 3 compatibility label Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix python3 Python 3 compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants