From: Colin Watson <cjwatson@debian.org>
Date: Sun, 26 May 2024 12:27:28 +0100
Subject: Don't install COPYING at top level of wheel

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.

Forwarded: https://github.com/skorokithakis/shortuuid/pull/105
Last-Update: 2024-05-26
---
 pyproject.toml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 284b05d..c151ede 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -17,7 +17,9 @@ classifiers = [
 homepage = "https://github.com/skorokithakis/shortuuid/"
 authors = ["Stavros Korokithakis <hi@stavros.io>"]
 readme = "README.md"
-include = ["COPYING"]
+include = [
+  { path = "COPYING", format = "sdist" }
+]
 
 [tool.poetry.scripts]
 shortuuid = "shortuuid.cli:cli"
