summaryrefslogtreecommitdiff
path: root/docs/markdown/Python-module.md
AgeCommit message (Collapse)Author
2023-05-02Find python3.xx on windowsCharles Brunet
2022-11-26add missing documentation for python installation default pure kwargEli Schwartz
2022-10-24Add missing since annotations in docsElliott Sales de Andrade
This is based on searching for `@FeatureNew*` decorators. There is also one correction to a version in a decorators; `build_by_default` was added in #1303, which is 0.38.0, not 0.40.0.
2022-06-19python module: implicitly add python dep to extensionsEli Schwartz
If there isn't a preexisting dependency on python, append one. It's almost assuredly needed, so just do the right thing out of the box.
2022-05-09python module: default extensions to hidden symbol visibilityEli Schwartz
python compiled extensions should never need to expose any symbol other than PyInit_* which is declared with default visibility via PyMODINIT_FUNC on supported compilers. Thus, a reasonably sane default is to mark any other symbols as hidden, while still respecting any manually specified visibility. Gate this on the version of python itself, as not all versions decorate PyMODINIT_FUNC properly.
2021-10-08python: Add platlibdir and purelibdir optionsXavier Claessens
2021-10-03docs: Fix broken linksDaniel Mensinger
2021-08-30Add missing "disabler" kwarg to python.dependency()Xavier Claessens
There is a unit test using it and now fails because the warning about unknown kwarg became fatal.
2021-08-17Add install tagsXavier Claessens
Fixes: #7007.
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen
2020-02-17modules/python: Do not error out if positional args are passedNirbheek Chauhan
Also update the documentation. Fixes https://github.com/mesonbuild/meson/issues/6470
2019-12-18python: add embed to the python dependency functionDaniel Mensinger
2019-06-12modules/python: add a modules keyword argumentDylan Baker
This mirrors the modules keyword argument that some dependencies (such as qt and llvm) take. This allows an easier method to determine if modules are installed.
2019-03-09docs: document that the .path() method for Python is new in 0.50 [skip ci]Dylan Baker
Since this method was not included in 0.46-00.49 we should document that.
2019-01-09Fix links to reference manualAlex Băluț
2018-11-04Update Python-module.mdLuca Weiss
Fix link to the disabler object
2018-10-23Add 'disabler' argument to functions returning not-found objectsXavier Claessens
When dependency(), find_library(), find_program(), or python.find_installation() return a not-found object and disabler is true, they return a Disabler object instead.
2018-09-16find_installation: Add support for feature option in required kwargXavier Claessens
Closes: #4165.
2018-04-22Python module: update documentation for new APIMathieu Duponchelle
2018-04-09[fixup]: write documentationMathieu Duponchelle