File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,16 @@ SP3_add_python_package(
183183 Sofa/constants
184184)
185185
186+ ## This is only to warn users that splib is now relocated in its own repository
187+ # it just contains a __init__.py rising an exception indicating to where to find the plugin.
188+ # If splib is available, then splib/__init__.py will be overriden by the one from the real splib.
189+ SP3_add_python_package(
190+ SOURCE_DIRECTORY
191+ ${CMAKE_CURRENT_SOURCE_DIR} /splib
192+ TARGET_DIRECTORY
193+ splib
194+ )
195+
186196sofa_create_package(
187197 PACKAGE_NAME ${PROJECT_NAME}
188198 PACKAGE_VERSION ${PROJECT_VERSION}
Original file line number Diff line number Diff line change 1+ """SPLIB is now relocated at: https://github.com/SofaDefrost/STLIB, please clone and install the plugin to use it"""
2+ raise Exception ("SPLIB is now relocated at: https://github.com/SofaDefrost/STLIB, please clone and install the plugin to use it" )
3+
4+
You can’t perform that action at this time.
0 commit comments