Skip to content

DOC: Update page to note installation for ninja library #29083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/devel/development_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Additionally, the following non-Python dependencies must also be installed local

.. rst-class:: checklist

* :ref:`c++ compiler<compile-dependencies>`
* :ref:`compile-build-dependencies`
* :ref:`external tools used by the documentation build <doc-dependencies-external>`


Expand Down
19 changes: 14 additions & 5 deletions doc/install/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,6 @@ means that the dependencies must be explicitly installed, either by :ref:`creati
(recommended) or by manually installing the following packages:

- `meson-python <https://meson-python.readthedocs.io/>`_ (>= 0.13.1).
- `ninja <https://ninja-build.org/>`_ (>= 1.8.2). This may be available in your package
manager or bundled with Meson, but may be installed via ``pip`` if otherwise not
available.
- `PyBind11 <https://pypi.org/project/pybind11/>`_ (>= 2.13.2). Used to connect C/C++ code
with Python.
- `setuptools_scm <https://pypi.org/project/setuptools-scm/>`_ (>= 7). Used to
Expand All @@ -240,10 +237,22 @@ means that the dependencies must be explicitly installed, either by :ref:`creati
- `NumPy <https://numpy.org>`_ (>= 1.22). Also a runtime dependency.


.. _compile-build-dependencies:

Compilers and external build tools
----------------------------------

When setting up a virtual environment for development, `ninja <https://ninja-build.org/>`_
(>= 1.8.2) may need to be installed separately. This may be available
as a `pre-built binary <https://github.com/ninja-build/ninja/releases>`_ or from a
`package manager <https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages>`_
or bundled with Meson. Ninja may also be installed via ``pip`` if otherwise not
available.

.. _compile-dependencies:

Compiled extensions
-------------------
Compilers
^^^^^^^^^

Matplotlib requires a C++ compiler that supports C++17, and each platform has a
development environment that must be installed before a compiler can be installed.
Expand Down