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

Don't install COPYING at top level of wheel #105

Merged
merged 1 commit into from
May 26, 2024

Conversation

cjwatson
Copy link
Contributor

Telling Poetry to install the COPYING file without qualification causes it to install that file at the very top level of the wheel, outside the shortuuid/ directory, and thus to potentially clash with other packages.

We only need to explicitly install it in the sdist. The wheel still ends up with a copy of the file in shortuuid-*.dist-info/COPYING, so no information is lost.

Telling Poetry to install the `COPYING` file without qualification
causes it to install that file at the very top level of the wheel,
outside the `shortuuid/` directory, and thus to potentially clash with
other packages.

We only need to explicitly install it in the sdist.  The wheel still
ends up with a copy of the file in `shortuuid-*.dist-info/COPYING`, so
no information is lost.
Copy link
Owner

@skorokithakis skorokithakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@skorokithakis skorokithakis merged commit a031e79 into skorokithakis:master May 26, 2024
4 checks passed
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.

2 participants