Skip to content

Commit 79a2b74

Browse files
DeaMariaLeonpmhatre1
authored andcommitted
DOC: Update docs with the use of meson instead of setup.py (pandas-dev#57917)
1 parent 87c7a91 commit 79a2b74

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/source/development/maintaining.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,15 @@ and then run::
151151
git bisect start
152152
git bisect good v1.4.0
153153
git bisect bad v1.5.0
154-
git bisect run bash -c "python setup.py build_ext -j 4; python t.py"
154+
git bisect run bash -c "python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true; python t.py"
155155

156156
This finds the first commit that changed the behavior. The C extensions have to be
157157
rebuilt at every step, so the search can take a while.
158158

159159
Exit bisect and rebuild the current version::
160160

161161
git bisect reset
162-
python setup.py build_ext -j 4
162+
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true
163163

164164
Report your findings under the corresponding issue and ping the commit author to get
165165
their input.

pandas/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
raise ImportError(
2929
f"C extension: {_module} not built. If you want to import "
3030
"pandas from the source directory, you may need to run "
31-
"'python setup.py build_ext' to build the C extensions first."
31+
"'python -m pip install -ve . --no-build-isolation --config-settings "
32+
"editable-verbose=true' to build the C extensions first."
3233
) from _err
3334

3435
from pandas._config import (

0 commit comments

Comments
 (0)