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

[SofaPython3] Separates the pre-loaded python modules out of the python (Fix issue #283) #284

Merged
merged 1 commit into from
Jul 18, 2022

Commits on Jul 9, 2022

  1. [SofaPython3] Separates the pre-loaded python modules out of the pyth…

    …on environment (BUGFIX)
    
    The execution of Sofa from a python3 environement is not working anymore because
    some features need Sofa & SofaRuntime modules to be loaded but the loading is done when
    initializing only in the embeded python interpreter.
    
    To fix this, the PR move the module loading and access into its own singleton that initialize at
    first use.
    
    Fixing that is important for 22.06 release.
    For the future, refactoring the PythonEnvironment file to split PythonEnvironment in two, to separate what is actually relevant for the PythonEnvironment and what
    should be part something like PythonEmbededInterpreter.
    damienmarchal committed Jul 9, 2022
    Configuration menu
    Copy the full SHA
    277aa50 View commit details
    Browse the repository at this point in the history