get_include
get_include()
Return the directory that contains the primate’s *.h header files.
Extension modules that need to compile against primate should use this function to locate the appropriate include directory.
Notes: When using distutils
, for example in setup.py
: python import primate ... Extension('extension_name', ..., include_dirs=[primate.get_include()]) ...
Or with meson-python
, for example in meson.build
: meson ... run_command(py, ['-c', 'import primate; print(primate.get_include())', check : true).stdout().strip() ...