File tree 2 files changed +15
-1
lines changed 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,12 @@ Environment variables
59
59
possible for ``meson-python `` to detect this, and it will not set the
60
60
Python wheel platform tag accordingly.
61
61
62
+ .. envvar :: MESON
63
+
64
+ Specifies the ``meson `` executable or script to use. It overrides
65
+ ``tool.meson-python.meson ``. See :ref: `reference-pyproject-settings ` for
66
+ more details.
67
+
62
68
.. envvar :: MESONPY_EDITABLE_VERBOSE
63
69
64
70
Setting this environment variable to any value enables directing to the
@@ -68,7 +74,7 @@ Environment variables
68
74
69
75
.. envvar :: NINJA
70
76
71
- Specify the ninja _ executable to use. It can also be used to select
77
+ Specifies the ninja _ executable to use. It can also be used to select
72
78
ninja _ alternatives like samurai _.
73
79
74
80
.. _ninja : https://ninja-build.org
Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ use them and examples.
26
26
``-Dpython.allow_limited_api=false `` option is passed to ``meson
27
27
setup ``.
28
28
29
+ .. option :: tool.meson-python.meson
30
+
31
+ A string specifying the ``meson `` executable or script to use. If it is a
32
+ path to an existing file with a name ending in ``.py ``, it will be invoked
33
+ as a Python script using the same Python interpreter that is used to run
34
+ ``meson-python `` itself. It can be overrridden by the :envvar: `MESON `
35
+ environment variable.
36
+
29
37
.. option :: tool.meson-python.args.dist
30
38
31
39
Extra arguments to be passed to the ``meson dist `` command.
You can’t perform that action at this time.
0 commit comments