Allow installing GObject Introspection overrides to multiple python installations #183
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allow installing GObject Introspection overrides to multiple system python installations. This is something Gentoo supports (I'm not sure about other distros) so this has made packaging a little messy.
Switching
py-overrides-dir
toarray
allows for passing multiple paths as a comma separated string, and should maintain compatibility with existing build harnesses.This also switches from
find_program
topython.find_installation
and adds apython_target
to allow specifying multiple installation targets instead of a list of paths. I defaultedpython_target
to justpython3
, as I assumepython
andpython3
refer to the same python installation on modern systems. This also matches the default forpython3-xapp
.