@@ -44,8 +44,9 @@ and consult the ``Linux`` instructions below.
44
44
**macOS **
45
45
46
46
To use the :ref: `mamba <contributing.mamba >`-based compilers, you will need to install the
47
- Developer Tools using ``xcode-select --install ``. Otherwise
48
- information about compiler installation can be found here:
47
+ Developer Tools using ``xcode-select --install ``.
48
+
49
+ If you prefer to use a different compiler, general information can be found here:
49
50
https://devguide.python.org/setup/#macos
50
51
51
52
**Linux **
@@ -86,12 +87,12 @@ Before we begin, please:
86
87
Option 1: using mamba (recommended)
87
88
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88
89
89
- * Install `mamba <https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html >`_
90
+ * Install miniforge to get `mamba <https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html >`_
90
91
* Make sure your mamba is up to date (``mamba update mamba ``)
92
+ * Create and activate the ``pandas-dev `` mamba environment using the following commands:
91
93
92
94
.. code-block :: none
93
95
94
- # Create and activate the build environment
95
96
mamba env create --file environment.yml
96
97
mamba activate pandas-dev
97
98
@@ -273,13 +274,21 @@ uses to import the extension from the build folder, which may cause errors such
273
274
You will need to repeat this step each time the C extensions change, for example
274
275
if you modified any file in ``pandas/_libs `` or if you did a fetch and merge from ``upstream/main ``.
275
276
277
+ **Checking the build **
278
+
276
279
At this point you should be able to import pandas from your locally built version::
277
280
278
281
$ python
279
282
>>> import pandas
280
283
>>> print(pandas.__version__) # note: the exact output may differ
281
284
2.0.0.dev0+880.g2b9e661fbb.dirty
282
285
286
+
287
+ At this point you may want to try
288
+ `running the test suite <https://pandas.pydata.org/docs/dev/development/contributing_codebase.html#running-the-test-suite >`_.
289
+
290
+ **Keeping up to date with the latest build **
291
+
283
292
When building pandas with meson, importing pandas will automatically trigger a rebuild, even when C/Cython files are modified.
284
293
By default, no output will be produced by this rebuild (the import will just take longer). If you would like to see meson's
285
294
output when importing pandas, you can set the environment variable ``MESONPY_EDTIABLE_VERBOSE ``. For example, this would be::
0 commit comments