summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/python_find_installation_modules.md
blob: a3719f2777ed1d1755819a31c34e7372cce8334e (plain)
1
2
3
4
5
6
7
8
9
## New modules kwarg for python.find_installation

This mirrors the modules argument that some kinds of dependencies (such as
qt, llvm, and cmake based dependencies) take, allowing you to check that a
particular module is available when getting a python version.

```meson
py = import('python').find_installation('python3', modules : ['numpy'])
```