Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

boegel
Copy link
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
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
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