Skip to content

Commit 9e1ccc2

Browse files
committed
Merge branch 'add-meson-build-files' of github.com:lithomas1/pandas into add-meson-build-files
2 parents fe904c5 + 1bdedc6 commit 9e1ccc2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/source/development/contributing_environment.rst

+15
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,21 @@ At this point you should be able to import pandas from your locally built versio
244244
>>> print(pandas.__version__) # note: the exact output may differ
245245
2.0.0.dev0+880.g2b9e661fbb.dirty
246246

247+
When building pandas with meson, importing pandas will automatically trigger a rebuild, even when C/Cython files are modified.
248+
By default, no output will be produced by this rebuild (the import will just take longer). If you would like to see meson's
249+
output when importing pandas, you can set the environment variable ``MESONPY_EDTIABLE_VERBOSE``. For example, this would be::
250+
251+
# On Linux/macOS
252+
MESONPY_EDITABLE_VERBOSE=1 python
253+
254+
# Windows
255+
set MESONPY_EDITABLE_VERBOSE=1 # Only need to set this once per session
256+
python
257+
258+
If you would like to see this verbose output every time, you can set the ``editable-verbose`` config setting to ``true`` like so::
259+
260+
python -m pip install -ve . --config-settings editable-verbose=true
261+
247262
.. tip::
248263
If you ever find yourself wondering whether setuptools or meson was used to build your pandas,
249264
you can check the value of ``pandas._built_with_meson``, which will be true if meson was used

0 commit comments

Comments
 (0)