From 45a311fc621324742f6d981a94ab93a3b30422e1 Mon Sep 17 00:00:00 2001
From: DavHau <hsngrmpf@gmail.com>
Date: Wed, 3 Jan 2024 12:17:02 +0700
Subject: [PATCH] Remove duplicate script entry leading to broken wheel build

The entry_point option already defines the /bin/swift script implicitly.
The definition of `scripts=bin/swift` ontop of that leads to a corrupt wheel build and can lead to a collision error during installation:
FileExistsError: File already exists: [...]/bin/swift

Closes-Bug: #1996959
Change-Id: I17d0c2b02555172eeedaa164aad956691ccb3b0a
---
 setup.cfg | 2 --
 1 file changed, 2 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 3b2dd469..726bb873 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -34,8 +34,6 @@ classifier =
 [files]
 packages =
     swiftclient
-scripts =
-    bin/swift
 data_files =
     share/man/man1 = doc/manpages/swift.1