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

follow package_dir automatically when set in the distribution #17

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

thrau
Copy link
Member

@thrau thrau commented Feb 25, 2024

Fixes #16.

When package_dir is set in a setup.cfg like this:

[options]
package_dir=
    =localstack-core/
packages=find:

Then the Distribution object will have an attribute dist.package_dir that's a weird looking dict:

{"": "localstack-core"/}

There's also a way to have multiple package source dirs, but I don't know how to support that right now.

@thrau thrau merged commit af0e4f9 into main Feb 25, 2024
5 checks passed
@thrau thrau deleted the fix-package-dir branch February 25, 2024 22:50
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.

plux entrypoints doesn't follow package_dir
1 participant