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

Add $PYTHONPATH or $EBPYTHONPREFIXES by automatically scanning for python site package directories #4539

Open
wants to merge 7 commits into
base: 5.0.x
Choose a base branch
from

Conversation

Micket
Copy link
Contributor

@Micket Micket commented May 22, 2024

Alternative approach, don't attempt to rewrite paths, instead generate them directly.

Will of course require some easyblocks (primarily pythonpackage and pythonbundle) to adapt by using these new options, though they should be trivial.

Note: very much a draft right now. Completely untested and probably forgot something important.

easyblock PR: easybuilders/easybuild-easyblocks#3343
easyconfig PR: easybuilders/easybuild-easyconfigs#20960

@Micket Micket force-pushed the ebpythonprefixes2 branch 4 times, most recently from a75d981 to f5bf63d Compare May 23, 2024 13:05
@Micket Micket added EasyBuild-5.0 EasyBuild 5.0 feature labels May 23, 2024
@Micket Micket added this to the 5.0 milestone May 23, 2024
@boegel boegel added the EasyBuild-5.0-blocker Blocker for EasyBuild 5.0 label Jun 5, 2024
@boegel boegel changed the title Add PYTHONPATH or EBPYTHONPREFIXES by automatically scanning for python site package directories Add $PYTHONPATH or $EBPYTHONPREFIXES by automatically scanning for python site package directories Jun 5, 2024
Simplifies code when using it in easyblocks
@Micket Micket marked this pull request as ready for review July 7, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EasyBuild-5.0-blocker Blocker for EasyBuild 5.0 EasyBuild-5.0 EasyBuild 5.0 feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants