The new 'python' module is a superset of its features, keeping both is confusing. Closes #4168.pull/4169/head
parent
06646fe772
commit
bbac77c31f
2 changed files with 32 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
## python3 module is deprecated |
||||
|
||||
A generic module `python` has been added in Meson `0.46.0` and has a superset of |
||||
the features implemented by the previous `python3` module. |
||||
|
||||
In most cases, it is a simple matter of renaming: |
||||
```meson |
||||
py3mod = import('python3') |
||||
python = py3mod.find_python() |
||||
``` |
||||
|
||||
becomes |
||||
|
||||
```meson |
||||
pymod = import('python') |
||||
python = pymod.find_installation() |
||||
``` |
||||
|
Loading…
Reference in new issue