Skip to content

Conversation

@damienmarchal
Copy link
Contributor

In initial version of SofaPython3 there was a partial version of SPLIB that was removed.

If someone still do an import splib expecting to rely on the one in SofaPython3 it will get and error saying splib is missing.
In this PR we have added a fake splib file so importing it results in an exception indicating how to install it.

…to find the SPLIB.

If someone do an import splib expecting to rely on the one in SofaPython3.
This will raise an exception telling how to find it.
@fredroy
Copy link
Contributor

fredroy commented Sep 23, 2021

Just by curiosity, if splib is cloned/installed/etc, will it overwrite this "placeholder" splib/_init_.py at the building stage ?

@damienmarchal
Copy link
Contributor Author

It is the behavior I got (and I expect).

@fredroy fredroy merged commit 6257993 into sofa-framework:master Sep 23, 2021
guparan added a commit to guparan/SofaPython3 that referenced this pull request Sep 30, 2021
@guparan guparan added this to the v21.12 milestone Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants