dune_python_force_versionΒΆ
dune_python_force_version(
version
)
- version
- The major python version: 2 or 3
Enforce the major version of the python interpreter to be either 2 or 3.
Note
This is the developer-facing interface to enforce a major python version. A user can set the input variable DUNE_PYTHON_FORCE_PYTHON2 or DUNE_PYTHON_FORCE_PYTHON3 to achieve the same result for a given build only.