aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-12-13 20:33:23 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-18 01:19:16 +0200
commitc4649704c8dc59f82826ddd41db2d1cc4f43af0b (patch)
treeb51b26e9271d4b00b219629d12c637bfc96a7d88 /docs/markdown
parent3122bac28a1e047da28b0190b8a0610cc26028dc (diff)
downloadmeson-c4649704c8dc59f82826ddd41db2d1cc4f43af0b.zip
meson-c4649704c8dc59f82826ddd41db2d1cc4f43af0b.tar.gz
meson-c4649704c8dc59f82826ddd41db2d1cc4f43af0b.tar.bz2
python: add embed to the python dependency function
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/Python-module.md6
-rw-r--r--docs/markdown/snippets/python_embed.md4
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md
index 6f9a764..152aa5c 100644
--- a/docs/markdown/Python-module.md
+++ b/docs/markdown/Python-module.md
@@ -103,7 +103,11 @@ need to add `dependencies : py_installation.dependency()`, see [][`dependency()`
python_dependency py_installation.dependency(...)
```
-This method accepts the same arguments as the standard [dependency] function.
+This method accepts the same arguments as the standard [dependency] function and
+the following additional keyword arguments:
+
+- `embed`: *(since 0.53.0)* If true, meson will try to find a python dependency
+ that can be used for embedding python into an application.
**Returns**: a [python dependency][`python_dependency` object]
diff --git a/docs/markdown/snippets/python_embed.md b/docs/markdown/snippets/python_embed.md
new file mode 100644
index 0000000..f50002c
--- /dev/null
+++ b/docs/markdown/snippets/python_embed.md
@@ -0,0 +1,4 @@
+## python.dependency() embed kwarg
+
+Added the `embed` kwarg to the python module dependency function to select
+the python library that can be used to embed python into an application.