Skip to main content
`Ctrl`+`K`

# slepc4py.get_include

slepc4py.get_include()

  Return the directory in the package that contains header files.

  Extension modules that need to compile against slepc4py should use this function to locate the appropriate include directory.

  Example

  Using Python distutils or NumPy distutils:

      import petscc4py, slepc4py
      Extension('extension_name', ...
                include_dirs=[...,
                              petsc4py.get_include(),
                              slepc4py.get_include(),])

  Return type:

    str