From ce933c4ce234ea01fb43e33870b63b5af0d1cae8 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Thu, 5 Nov 2026 16:31:14 -0500 Subject: [PATCH] chore: drop setup.cfg and configure metadata in pyproject.toml only setup.cfg only kept Home-page, Author, and Author-email intact for pip show (#999). Listing the author as separate name and email entries reproduces Author and Author-email exactly, and a Homepage project URL fills Home-page on pip 24.1 and later. Co-Authored-By: Claude --- pyproject.toml | 4 +++- setup.cfg | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index c69aa016c..68cc2214e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,10 @@ build-backend = "setuptools.build_meta" [project] name = "slack_bolt" -dynamic = ["version", "readme", "authors"] +dynamic = ["version", "readme"] description = "The Bolt Framework for Python" license = { text = "MIT" } +authors = [{ name = "Slack Technologies, LLC" }, { email = "opensource@slack.com" }] classifiers = [ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", @@ -26,6 +27,7 @@ dependencies = ["slack_sdk>=3.38.0,<4"] [project.urls] +Homepage = "https://github.com/slackapi/bolt-python" Documentation = "https://docs.slack.dev/tools/bolt-python/" Source = "https://github.com/slackapi/bolt-python" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 3b05a6fa3..000000000 --- a/setup.cfg +++ /dev/null @@ -1,5 +0,0 @@ -; Legacy package configuration, prefer pyproject.toml over setup.cfg -[metadata] -url=https://github.com/slackapi/bolt-python -author=Slack Technologies, LLC -author_email=opensource@slack.com