File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Using debug builds
99******************
1010
1111For development work on native code in your Python package, you may want to use
12- a debug build. To do so, we need to use the ``buildtype `` option, which is
12+ a debug build. To do so, we need to pass the ``-Dbuildtype=debug `` option, which is
1313equivalent to ``-Ddebug=true -Doptimization=0 ``, to ``meson setup ``. In addition,
1414it is likely most useful to set up an editable build with a fixed build
1515directory. That way, the shared libraries in the installed debug build will
@@ -21,7 +21,9 @@ We can do all that with the following ``pip`` invocation:
2121
2222.. code-block :: console
2323
24- $ pip install -e . --no-build-isolation -Csetup-args=-Dbuildtype=debug -Cbuilddir=build-dbg
24+ $ pip install -e . --no-build-isolation \
25+ -Csetup-args=-Dbuildtype=debug \
26+ -Cbuilddir=build-dbg
2527
2628 This debug build of your package will work with either a regular or debug build
2729of your Python interpreter. A debug Python interpreter isn't necessary, but may
You can’t perform that action at this time.
0 commit comments