Commit a4d6afcb authored by Ben Boeckel's avatar Ben Boeckel
Browse files

wheels: reduce the size of the Linux wheel

parent 1470226e
......@@ -97,8 +97,10 @@ setup(
'vtkmodules': [
# Linux modules.
'*-linux-gnu.so',
# Unix shared libraries.
'lib*.so*',
# Unix shared libraries. Only package the SONAME. This is safe
# because wheels do not support symlinks. If they ever do, the 1
# should become a `*` glob in that version.
'lib*.so.1',
# macOS modules.
'*-darwin.so',
# macOS shared libraries.
......
......@@ -329,7 +329,7 @@ vtk_module_build(
LICENSE_DESTINATION "${CMAKE_INSTALL_LICENSEDIR}"
LIBRARY_NAME_SUFFIX "${VTK_CUSTOM_LIBRARY_SUFFIX}"
VERSION "${VTK_VERSION}"
SOVERSION "1"
SOVERSION "1" # This affects the wheel
TEST_DATA_TARGET VTKData
INSTALL_HEADERS "${VTK_INSTALL_SDK}"
BUILD_WITH_KITS "${VTK_ENABLE_KITS}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment