Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b9bcbb

Browse files
committed
move up ninja since ninja is needed before installing c++
1 parent 1ca61cf commit 1b9bcbb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/install/dependencies.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,18 @@ means that the dependencies must be explicitly installed, either by :ref:`creati
237237
- `NumPy <https://numpy.org>`_ (>= 1.22). Also a runtime dependency.
238238

239239

240-
.. _compile-dependencies:
241-
242240
Compilers and external build tools
243241
----------------------------------
244242

243+
.. _ninja-dependencies:
244+
245+
When setting up a virtual environment for development, `ninja <https://ninja-build.org/>`_
246+
(>= 1.8.2) may need to be installed separately. This may be available
247+
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
248+
otherwise not available.
249+
250+
.. _compile-dependencies:
251+
245252
Matplotlib requires a C++ compiler that supports C++17, and each platform has a
246253
development environment that must be installed before a compiler can be installed.
247254
You may also need to install headers for various libraries used in the compiled extension
@@ -304,13 +311,6 @@ VS Code or Linux package manager. Choose **one** compiler from this list:
304311
- Windows
305312
- `Visual Studio 2019 C++ <https://docs.microsoft.com/en-us/cpp/overview/visual-cpp-language-conformance?view=msvc-160>`_
306313

307-
.. _ninja-dependencies:
308-
309-
When setting up a virtual environment for development, `ninja <https://ninja-build.org/>`_
310-
(>= 1.8.2) may need to be installed separately. This may be available
311-
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
312-
otherwise not available.
313-
314314

315315
.. _test-dependencies:
316316

0 commit comments

Comments
 (0)