Ice.getSliceDir

Ice.getSliceDir() str | None

This helper function locates the installation directory for the Ice Slice files, and returns its path. This path is typically used to configure include paths for Slice compilers.

Returns:

The absolute path of the directory containing the Ice Slice files, or None if the directory cannot be found.

Return type:

str | None