commit:     a8f9048cfff8beafddad509acede3ecf31b49768
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 25 08:11:04 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Dec 25 15:56:15 2025 +0000
URL:        https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=a8f9048c

Move "scripts" to pyproject.toml

Move `scripts =` from setup.py to pyproject.toml.
`script-files` is discouraged, but I don't see an alternative.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 pyproject.toml | 3 ++-
 setup.py       | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index e5e4b71..e91025d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -21,4 +21,5 @@ Documentation = "https://wiki.gentoo.org/wiki/Webapp-config";
 [tool.setuptools]
 packages.find.include = ["WebappConfig"]
 packages.find.exclude = ["*tests", "*tests*"]
-include-package-data = false
\ No newline at end of file
+include-package-data = false
+script-files = ["sbin/webapp-config", "sbin/webapp-cleaner"]

diff --git a/setup.py b/setup.py
index 7b2b8de..a00f8b9 100755
--- a/setup.py
+++ b/setup.py
@@ -13,5 +13,4 @@ def get_version():
 setuptools.setup(
       name          = 'webapp-config',
       version       = get_version(),
-      scripts       = ['sbin/webapp-config', 'sbin/webapp-cleaner'],
 )

Reply via email to