-
Notifications
You must be signed in to change notification settings - Fork 564
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
Ambiguous packaging configuration #1886
Comments
I can confirm the warnings. Do you want to submit a PR with your fixes? |
I opened a PR, but it's complaining that I'm not covered by a CLA. I might be able to get one signed if you give me a few months, but I really don't feel like fighting the bureaucracy for a change of this size. |
@gmacon can you share with us where you learned to configure the package discovery correctly, so we can also learn and author a patch that does the same (without copying your work)? i totally understand the CLA concerns in this case and appreciate your patience working with us. thank you! |
I read the page linked in the warning: https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you want to talk to lawyers, though, I suspect this change is so small that there isn't anything copyrightable in it. There's also the possibility that what I did is in some sense unique; i.e. your change will be identical to mine even if you don't look at my change first. |
I've read the guide and a few other pages and came to the same solution. |
You wouldn't rename |
Description
I'm using capa in a system that uses Nix to define the environment. That means that we rebuild the capa package from source within our environment. Building the source unmodified results in a broken installation because the sub-packages are missing. When I build outside of Nix, I get a working build, but with warnings like this one for every sub-package:
For the time being, I'm carrying a patch that adds all of the sub-packages explicitly to the
tool.setuptools.packages
list, but I think this should be addressed here as well. Y'all may have your own opinions about what the best way to resolve this is, I used the explicit list because it was fast.Steps to Reproduce
Expected behavior:
The package is built without warnings.
Actual behavior:
Warnings like the one above appear for every sub-package of capa.
Versions
I got this exact output on a checkout of v6.1.0-781-gfbe0440361b8 with Python 3.9.6.
Additional Information
The text was updated successfully, but these errors were encountered: