diff --git a/docs/src/developer_guide/compiling.rst b/docs/src/developer_guide/compiling.rst index 4a8f5eb72e..02b826a92e 100644 --- a/docs/src/developer_guide/compiling.rst +++ b/docs/src/developer_guide/compiling.rst @@ -138,7 +138,14 @@ To fetch all dependencies and Clang, enter the following commands on Ubuntu: sudo apt install libpng-dev libjpeg-dev # Install required Python packages - sudo apt install libpython3-dev python3-distutils + sudo apt install libpython3-dev python3-setuptools + +.. note:: + + Since Ubuntu 24.04 with python 3.12 python3-distutils has been deprecated, + see `PEP632 `_ for details. + `setuptools`, as described in the `documentation `_ + is an alternative even if the script itself only imports `distutils`. Additional packages are required to run the included test suite or to generate HTML documentation (see :ref:`Developer guide `). If those are