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

change custom easyblock for Python to set pythonpath class variable to a fixed location relative to build path #3400

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Aug 24, 2024

  1. [bugfix] Set pythonpath to a fixed location relative to build path

    The `pythonpath` variable in the `python.py` EasyBlock is used to create
    temporary directories to store build artifacts. However, there are 2
    problems with the current definition of the `pythonpath` instance field:
    
    - it uses the log directory to store build artifacts, and
    - the functions that use `pythonpath` do not accept a full path.
    
    The `build_path()` function cannot be used instead of `log_path()` as the
    function provides a full path as well. Thus we opted to hard-code a
    relative path with respect to the build directory.
    
    Issue: easybuilders/easybuild-easyconfigs#21078
    gkaf89 committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    4ce389d View commit details
    Browse the repository at this point in the history