You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/installing.rst
+18-11
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ You can download the package manager and use it to install the dependencies abov
23
23
conda update conda
24
24
conda update anaconda
25
25
26
+
.. _discretize_dependencies:
27
+
26
28
Dependencies
27
29
============
28
30
@@ -61,7 +63,8 @@ systems will require a build.
61
63
Installing from Source
62
64
----------------------
63
65
.. attention::
64
-
Install ``discretize`` from the source code only if you need to run the development version. Otherwise it's usually better to install it from ``conda-forge``.
66
+
Install ``discretize`` from the source code only if you need to run the development version.
67
+
Otherwise it's usually better to install it from ``conda-forge`` or ``pypi``.
65
68
66
69
As ``discretize`` contains several compiled extensions and is not a pure python pacakge,
67
70
installing ``discretize`` from the source code requires a C/C++ compiler capable of
@@ -88,25 +91,29 @@ Editable Installs
88
91
If you are an active developer of ``discretize``, and find yourself modifying the code often,
89
92
you might want to install it from source, in an editable installation. ``discretize`` uses
90
93
``meson-python`` to build the external modules and install the package. As such, there are a few extra
91
-
steps to take. First, make sure you have the runtime dependencies installed in your environment (see Dependencies listed above).
92
-
Then you must install some packages needed to build ``discretize`` in your environment. You can do so with ``pip``::
94
+
steps to take:
95
+
96
+
1. Make sure you have the runtime dependencies installed in your environment (see :ref:`discretize_dependencies` listed above).
97
+
However, you **must** install ``numpy >=2.0`` when *building* ``discretize``.
98
+
2. You must also install packages needed to build ``discretize`` into your environment. You can do so with ``pip``::
0 commit comments