dune_python_find_packageΒΆ

dune_python_find_package(
     PACKAGE package
    [REQUIRED]
    [VERSION version]
    [EXACT]
    [INTERPRETER interpreter]
)
PACKAGE

The package name to look for.

REQUIRED

If set, the function will error out if the package is not found.

VERSION

The minimum version of the package that is required.

EXACT

Whether the given version requirement has to be matched exactly.

INTERPRETER

The python interpreter, whose paths are searched for the package. Defaults to ${PYTHON_EXECUTABLE}, might differ when dealing with the configure-time virtualenv set up with DUNE_PYTHON_VIRTUALENV_SETUP.

Find a given python package on the system.