From 82570d0a368acc3e84eefcbf478e601bc749243c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dea=20Mar=C3=ADa=20L=C3=A9on?= Date: Tue, 19 Mar 2024 20:13:35 +0100 Subject: [PATCH] update compiling with meson --- doc/source/development/maintaining.rst | 4 ++-- pandas/__init__.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/development/maintaining.rst b/doc/source/development/maintaining.rst index 5d833dca50732..f6ff95aa72c6c 100644 --- a/doc/source/development/maintaining.rst +++ b/doc/source/development/maintaining.rst @@ -151,7 +151,7 @@ and then run:: git bisect start git bisect good v1.4.0 git bisect bad v1.5.0 - git bisect run bash -c "python setup.py build_ext -j 4; python t.py" + git bisect run bash -c "python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true; python t.py" This finds the first commit that changed the behavior. The C extensions have to be rebuilt at every step, so the search can take a while. @@ -159,7 +159,7 @@ rebuilt at every step, so the search can take a while. Exit bisect and rebuild the current version:: git bisect reset - python setup.py build_ext -j 4 + python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true Report your findings under the corresponding issue and ping the commit author to get their input. diff --git a/pandas/__init__.py b/pandas/__init__.py index f7ae91dd847f7..3ee6f6abf97bf 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -28,7 +28,8 @@ raise ImportError( f"C extension: {_module} not built. If you want to import " "pandas from the source directory, you may need to run " - "'python setup.py build_ext' to build the C extensions first." + "'python -m pip install -ve . --no-build-isolation --config-settings " + "editable-verbose=true' to build the C extensions first." ) from _err from pandas._config import (