aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
AgeCommit message (Collapse)AuthorFilesLines
2018-07-19Use option args in find_library.useargsintestsJussi Pakkanen1-1/+1
2018-07-02FeatureNew: Fix method names for some feature checksNirbheek Chauhan1-1/+2
2018-07-02Remove permittedSnippetKwargs, snippets are not specialNirbheek Chauhan1-4/+3
All we needed to do was change _get_callee_args() to also support snippets.
2018-06-20dependencies: Don't assume self.compiler is a C compilerNirbheek Chauhan1-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.
2018-06-01Add 0.46.0 featuresSalamandar1-1/+4
2018-05-04Interpreter: don't flatten the arguments of various methodsMathieu Duponchelle1-0/+4
this fixes eg set_variable('foo', ['bar', 'baz']), which was previously erroring out complaining about the number of arguments. Closes #1481
2018-05-03python module: make it work with pypyMathieu Duponchelle1-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.
2018-04-21modules/python: add some more options around path and config_varsHavard Graff1-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.
2018-04-18Made Python module match the new init interface.Jussi Pakkanen1-4/+4
2018-04-09[fixup]: various minor tweaks found while documentingMathieu Duponchelle1-9/+5
2018-04-09[fixup]: Rename find to find_installationMathieu Duponchelle1-4/+4
2018-04-09[fixup]: Fix python2 detection and unit testMathieu Duponchelle1-1/+1
2018-04-07[fixup]: trivial fix after rebaseMathieu Duponchelle1-2/+3
2018-04-07[fixup]: extension_module: allow specifying install_dir OR subdirMathieu Duponchelle1-5/+8
2018-04-07[fixup]: Address PKG_CONFIG env vars commentsMathieu Duponchelle1-18/+19
2018-04-06Implement a generic python moduleMathieu Duponchelle1-0/+432
With contributions from HÃ¥vard Graff