summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
Commit message (Collapse)AuthorAgeFilesLines
* Use option args in find_library.useargsintestsJussi Pakkanen2018-07-191-1/+1
|
* FeatureNew: Fix method names for some feature checksNirbheek Chauhan2018-07-021-1/+2
|
* Remove permittedSnippetKwargs, snippets are not specialNirbheek Chauhan2018-07-021-4/+3
| | | | | All we needed to do was change _get_callee_args() to also support snippets.
* dependencies: Don't assume self.compiler is a C compilerNirbheek Chauhan2018-06-201-1/+1
| | | | | | | | | | | All dependencies were using find_library, has_header, get_define, etc on self.compiler assuming that it's a compiler that outputs and consumes C-like libraries. This is not true for D (and in the future, for Rust) since although they can consume C libraries, they do not use the C ecosystem. For such purposes, we now have self.clib_compiler. Nothing uses self.compiler anymore as a result, and it has been removed.
* Add 0.46.0 featuresSalamandar2018-06-011-1/+4
|
* Interpreter: don't flatten the arguments of various methodsMathieu Duponchelle2018-05-041-0/+4
| | | | | | | | this fixes eg set_variable('foo', ['bar', 'baz']), which was previously erroring out complaining about the number of arguments. Closes #1481
* python module: make it work with pypyMathieu Duponchelle2018-05-031-4/+47
| | | | | | | | pypy installations don't usuallyy ship with pkg-config files, we thus need to replicate what their version of distutils does. In addition, we also try our best to build against other pythons that do not have pkg-config files.
* modules/python: add some more options around path and config_varsHavard Graff2018-04-211-13/+39
| | | | | | | | | | What is actually defined here varies wildly on different python-versions for different platforms. On my python2.7 on Windows len(sysconfig.get_config_vars()) returns 17, whereas in my Ubuntu that number is 517! Hence it is useful to be able to check which keys are available, as well as allowing specifying a default option.
* Made Python module match the new init interface.Jussi Pakkanen2018-04-181-4/+4
|
* [fixup]: various minor tweaks found while documentingMathieu Duponchelle2018-04-091-9/+5
|
* [fixup]: Rename find to find_installationMathieu Duponchelle2018-04-091-4/+4
|
* [fixup]: Fix python2 detection and unit testMathieu Duponchelle2018-04-091-1/+1
|
* [fixup]: trivial fix after rebaseMathieu Duponchelle2018-04-071-2/+3
|
* [fixup]: extension_module: allow specifying install_dir OR subdirMathieu Duponchelle2018-04-071-5/+8
|
* [fixup]: Address PKG_CONFIG env vars commentsMathieu Duponchelle2018-04-071-18/+19
|
* Implement a generic python moduleMathieu Duponchelle2018-04-061-0/+432
With contributions from HÃ¥vard Graff