.. _DUNE_PYTHON_FORCE_PYTHON3:

DUNE_PYTHON_FORCE_PYTHON3
=========================

.. cmake_variable:: DUNE_PYTHON_FORCE_PYTHON3

    Set this variable to TRUE to force usage of a python3 interpreter. This is
    the *user-facing* interface, developers of Dune modules, may force the python
    major version through :ref:`dune_python_force_version`.

    .. note::
       This does not check for the interpreter requirements of your python packages.
       If you set it and one of your packages requires python2, you will get an error.

