summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
AgeCommit message (Collapse)Author
2018-05-04Interpreter: don't flatten the arguments of various methodsMathieu Duponchelle
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 Duponchelle
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 Graff
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 Pakkanen
2018-04-09[fixup]: various minor tweaks found while documentingMathieu Duponchelle
2018-04-09[fixup]: Rename find to find_installationMathieu Duponchelle
2018-04-09[fixup]: Fix python2 detection and unit testMathieu Duponchelle
2018-04-07[fixup]: trivial fix after rebaseMathieu Duponchelle
2018-04-07[fixup]: extension_module: allow specifying install_dir OR subdirMathieu Duponchelle
2018-04-07[fixup]: Address PKG_CONFIG env vars commentsMathieu Duponchelle
2018-04-06Implement a generic python moduleMathieu Duponchelle
With contributions from HÃ¥vard Graff