fix bug in PythonBundle: always add */site-packages subdirs to $PYTHONPATH when installing extensions#2081
Conversation
…NPATH when installing extensions
|
Now that I see this, I'm a bit concerned about https://github.com/easybuilders/easybuild-framework/blob/develop/easybuild/framework/easyblock.py#L1405 |
|
|
…generated module file Co-authored-by: Alex Domingo <[email protected]>
If that's a problem then it should make the sanity check fail due to missing stuff in the module file? In this particular case, we're only making sure that the module file that is used to set up the environment before installing extensions is correct. The module file used during the sanity check is a fresh one, which should have the same contents as the final module file (since nothing is changed anymore when the sanity check kicks off, that's after (post)install and extensions steps). |
|
Fix confirmed with |
|
Going in, thanks @boegel ! |
This fixes a bug that was introduced in #2075.
Installing
SciPy-bundleis broken currently for example, the installation of thescipyextensions fails becausenumpycan not be found, even though it is installed correctly.