-
Notifications
You must be signed in to change notification settings - Fork 134
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
flit install
fails with IsADirectoryError
#399
Comments
Thanks! It's assuming that any |
Thank you! It may be that something should still be done with the LICENSES/ directory, as this is where reuse, a tool to help comply with FSFE's "REUSE" guidelines for software licencing, places the texts of the various licenses that cover various parts of a project (since many projects end up with files covered under more than a single open source license). Is it worth filing a separate issue about this? |
Yes and no. I'm happy to extend what flit does with license files, but as far as I know there's no standard for where licenses should go in wheels, and I don't know of any tools that get them either from wheels or installed packages. You might also be interested in PEP 639, an in-progress draft for more structured ways to specify license info with Python packages. There's a (rather long) discussion about that underway at https://discuss.python.org/t/pep-639-improving-license-clarity-with-better-package-metadata/2154/ . |
Over in cascadetoml we have observed a problem where
flit install
fails, butflit build
pip install dist/*.whl
succeeds. The problem appears to be related to a folder that is intended excluded by[tool.flit.sdist] exclude = ["LICENSES"]
The text was updated successfully, but these errors were encountered: