9 Commits (e5766454d647af735b82e54e94c5bd0b8854871b)

Author SHA1 Message Date
Dylan Baker 40e3577a65 split program related classes and functions out of dependencies 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Eli Schwartz 4340bf34fa
various python neatness cleanups 4 years ago
Xavier Claessens ba9bfd2bd8 Simplify module API 4 years ago
Dylan Baker e81acbd606 Use a single coredata dictionary for options 4 years ago
Dylan Baker f6672c7a19 use real pathlib module 4 years ago
Xavier Claessens 8b20852b0f python.dependency() is not respecting 'required' kwarg 4 years ago
Daniel Mensinger 1dfaccfd91 pathlib: Fix resolve() by overriding it in Python 3.5 4 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Marc-André Lureau efb86088bc python: install_sources() should default to pure, following the doc 5 years ago
Xavier Claessens 39a69d1fb0 find_program: Fixes when the program has been overridden by executable 5 years ago
John Ericson 3a4388e51d Fix legacy env var support with cross 5 years ago
Nirbheek Chauhan 40b58be100 modules/python: Do not error out if positional args are passed 5 years ago
Dylan Baker fd892ad7ce dependencies: Make Dependency initializer signatures match 5 years ago
Daniel Mensinger 09b53c534f types: import typing as T (fixes #6333) 5 years ago
Daniel Mensinger c4649704c8 python: add embed to the python dependency function 5 years ago
Jussi Pakkanen 5b422fce87 Make Python 2 tests optional(er) to prepare for py2 purge in Debian. 5 years ago
Ross Burton ad368cfc07 modules/python: improve log when probing Python binary 5 years ago
Jussi Pakkanen af1a81fffc Improve error message when Python is not usable. [skip ci] 5 years ago
Dylan Baker 15ab1f64f9 modules/python: add a modules keyword argument 6 years ago
John Ericson 07777e15d4 Purge `is_cross` and friends without changing user interfaces 6 years ago
Daniel Mensinger e75211d321
Fix builtin variable names 6 years ago
Jussi Pakkanen 4e4f97edb3 Can run argument strings with internal Python. Closes #5217. 6 years ago
Dylan Baker a710b83a67 modules/python: normalize output for disabled by feature 6 years ago
Dylan Baker de48e887b8 modules/python: Do disabler check after validating inputs 6 years ago
Dylan Baker 82346a2bd2 modules/python: Report program found in find_installation() 6 years ago
Dylan Baker 3d04e5a150 modules/python: Remove spaces around keyword arguments 6 years ago
Nacho García 222a973918 dependencies: fix Python linking for windows+mingw 6 years ago
Christoph Reiter 1bd14b52b2 python: don't require a Python lib in case we don't link against it. Fixes #4841 6 years ago
Xavier Claessens 83766b3687 Fix flake8 errors 6 years ago
John Ericson 2b22576fb6 Remove cross_info; cross file is parsed up front and discarded 6 years ago
guruDanny67 ee555e37c9 Avoid exception looking for python on windows if the launcher (py.exe) is not installed 6 years ago
Dylan Baker f6405adc2d modules/python: Add path method 6 years ago
Dylan Baker d536a6f018 modules/python: Refactor the PythonInstallation object 6 years ago
Dylan Baker 3d322b3381 modules/python: don't inherit from InterpreterObject 6 years ago
Dylan Baker 03805287e5 modules/python: Don't pass instance variable to instance method 6 years ago
Christoph Reiter 8e85a7b7b8 python: only link extension modules against libpython when distutils does too. Fixes #4117 6 years ago
Philippe Normand 4db1b3a09f modules/python: Do not override link_args with None largs 6 years ago
Dylan Baker 71a5f990d0 modules/python: Allow use of the native file 6 years ago
Xavier Claessens 61348da069 Add 'disabler' argument to functions returning not-found objects 6 years ago
Xavier Claessens 4ff7b65f9b python module: Only run command once to get all info 6 years ago
Xavier Claessens 6112e6a815 Fix version check when passing feature option to find_installation() 6 years ago
Xavier Claessens 3cf03ec6d6 find_installation: Add support for feature option in required kwarg 6 years ago
David Seifert ab01db177b Make python module more robust 6 years ago
Christoph Reiter 6b9fdfe67b python.find_installation: only try to find python with the py launcher if it isn't in PATH 6 years ago
Nirbheek Chauhan 907a68bcf1 FeatureNew: Fix method names for some feature checks 6 years ago
Nirbheek Chauhan 817dcaa23b Remove permittedSnippetKwargs, snippets are not special 6 years ago
Nirbheek Chauhan d737488150 dependencies: Don't assume self.compiler is a C compiler 7 years ago
Salamandar 2fb6018763 Add 0.46.0 features 7 years ago
Mathieu Duponchelle f1c92d7c9c Interpreter: don't flatten the arguments of various methods 7 years ago