Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py: construct PKG_CONFIG_PATH even if there are broken packages #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

virtuald
Copy link

@virtuald virtuald commented Dec 29, 2024

If the entrypoint is in a toplevel package, this avoids importing the package and only uses its location. If the entrypoint is in a subpackage, only the parent packages are typically imported.

This is particularly useful during development when one may have broken editable installations with pkgconf entrypoints.

Fixes #57

... probably should add some tests for this.

If the entrypoint is in a toplevel package, this avoids importing the package
and only uses its location. If the entrypoint is in a subpackage, only the
parent packages are typically imported.

This is particularly useful during development when one may have broken
editable installations with pkgconf entrypoints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

broken packages can prevent pkgconf from functioning
1 participant