aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Python-module.md
AgeCommit message (Collapse)AuthorFilesLines
2022-11-26add missing documentation for python installation default pure kwargEli Schwartz1-1/+8
2022-10-24Add missing since annotations in docsElliott Sales de Andrade1-0/+2
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 Schwartz1-3/+3
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 Schwartz1-0/+6
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 Claessens1-0/+6
2021-10-03docs: Fix broken linksDaniel Mensinger1-20/+11
2021-08-30Add missing "disabler" kwarg to python.dependency()Xavier Claessens1-0/+2
There is a unit test using it and now fails because the warning about unknown kwarg became fatal.
2021-08-17Add install tagsXavier Claessens1-0/+3
Fixes: #7007.
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen1-4/+4
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen1-27/+31
2020-02-17modules/python: Do not error out if positional args are passedNirbheek Chauhan1-2/+3
Also update the documentation. Fixes https://github.com/mesonbuild/meson/issues/6470
2019-12-18python: add embed to the python dependency functionDaniel Mensinger1-1/+5
2019-06-12modules/python: add a modules keyword argumentDylan Baker1-0/+2
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 Baker1-0/+11
Since this method was not included in 0.46-00.49 we should document that.
2019-01-09Fix links to reference manualAlex Băluț1-2/+2
2018-11-04Update Python-module.mdLuca Weiss1-1/+1
Fix link to the disabler object
2018-10-23Add 'disabler' argument to functions returning not-found objectsXavier Claessens1-0/+3
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 Claessens1-1/+3
Closes: #4165.
2018-04-22Python module: update documentation for new APIMathieu Duponchelle1-7/+33
2018-04-09[fixup]: write documentationMathieu Duponchelle1-0/+195