107 Commits (61c742fae9ec74e81b3bb3caf815cf49992fb93c)

Author SHA1 Message Date
Xavier Claessens 54213683e2 python: Remove warning about invalid install path 3 years ago
Eli Schwartz 68b8fbcf6d Revert "devenv: Set PYTHONPATH where we install python modules" 3 years ago
Ralf Gommers 44104e820a Remove a spurious debug print in Python module 3 years ago
Eli Schwartz 2540ad6e9e
fix correctly detecting whether python is found if link args are empty 3 years ago
Eli Schwartz 187dc656f4
merge various TYPE_CHECKING blocks into one 3 years ago
Xavier Claessens 79c6075b56 devenv: Set PYTHONPATH where we install python modules 3 years ago
Xavier Claessens c5c02b72e1 Cache the result of python.find_installation() 3 years ago
Eli Schwartz 78945fb983
python module: add option to specify a python environment to install to 3 years ago
Eli Schwartz 2a99252604
python module: only find a pkg-config dependency from the found python 3 years ago
Matthew Brett bd5e520672 Fix to find Python files for Windows virtualenvs 3 years ago
Xavier Claessens 898bf6e518 python: Better detect when install path is not in sys.path 3 years ago
Xavier Claessens c8d125653d
python.dependency(): Do not stop when first candidate is not found 3 years ago
Eli Schwartz 8947352889 fix various flake8 whitespace errors 3 years ago
Thomas Heijligen ecdf192f46 dep.name(): return dependency name even if dependency is not found 3 years ago
Christian Clauss a5020857f3 Fix typos discovered by codespell 3 years ago
Xavier Claessens 329d111709 python: Add platlibdir and purelibdir options 3 years ago
Eli Schwartz d06cc042eb
f-strings 3 years ago
Filipe Laíns 05b5a1e56f modules: python: better handling of the Python paths for Debian 3 years ago
Filipe Laíns af8b55d49b mintro: add installed_plan 3 years ago
Eli Schwartz 34ac77d619 python module: fix error message mentioning setuptools 3 years ago
Xavier Claessens 276063a1d2 Add missing "disabler" kwarg to python.dependency() 3 years ago
Dylan Baker 11fbaf29d8 interpreter: fix cases of `KwargInfo(..., T, default=None)` 3 years ago
Eli Schwartz 6170f1175e python module: produce the correct install path on every OS 3 years ago
Xavier Claessens 0063eb251e python: Workaround broken install path 3 years ago
Eli Schwartz b0ffb80ecf
python module: fix extensions without explicit subdir being installed to libdir 3 years ago
Eli Schwartz d9a9c3b5da
python module: make external program wrapper have access to useful metadata 3 years ago
Eli Schwartz 445f08869b
Fix incorrect .name attribute for python program 3 years ago
Eli Schwartz 9eac9e0ff2
fix some confusingly indirect code 3 years ago
Xavier Claessens 8c5aa031b5 Add install tags 3 years ago
Xavier Claessens 3f71779f8a Fix python module leaving PKG_CONFIG_LIBDIR set in os.environ. 3 years ago
Dylan Baker b4e826bff3 modules/python: fix up a few simply typing warnings/errors 3 years ago
Dylan Baker eac2d5eec5 modules/python: Allow trying a macos framework as well other methods 3 years ago
Dylan Baker d6e606166e modules/python: make some internal helpers protected 3 years ago
Dylan Baker 4d67dd19e5 modules/python: use factory for dependency 3 years ago
Dylan Baker a881e849b5 modules/python: simplify a number of interfaces 3 years ago
Dylan Baker 9eec2a131b modules/python: use typed_pos_args 3 years ago
Dylan Baker 1f7ab2f010 modules/python: Add type annotations 3 years ago
Dylan Baker 3b3c580817 modules/python: sort imports 3 years ago
Daniel Mensinger 7c757dff71 holders: Fix the remaining code to respect the holder changes 4 years ago
Eli Schwartz bbcc91c1e5
expose SystemDependency and BuiltinDependency as toplevel classes 4 years ago
Eli Schwartz 493dc6ed10
move base class for system dependencies into base.py 4 years ago
Dylan Baker 203a548d60 dependencies: Use the SystemDependency 4 years ago
Daniel Mensinger 95b70bcb97 deps: Split dependencies.base 4 years ago
Xavier Claessens 2e02ef6592 modules: Add methods dict everywhere 4 years ago
Xavier Claessens 723c5227a4 modules: Remove snippet methods 4 years ago
Xavier Claessens ed57646475 interpreter: 'embed' kwarg is only valid in python module 4 years ago
Xavier Claessens 7ffe1b4a66 interpreter: Split permitted_kwargs dict 4 years ago
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