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
9
9
******************
10
10
11
11
For 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
13
13
equivalent to ``-Ddebug=true -Doptimization=0 ``, to ``meson setup ``. In addition,
14
14
it is likely most useful to set up an editable build with a fixed build
15
15
directory. 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:
21
21
22
22
.. code-block :: console
23
23
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
25
27
26
28
This debug build of your package will work with either a regular or debug build
27
29
of your Python interpreter. A debug Python interpreter isn't necessary, but may
You can’t perform that action at this time.
0 commit comments