Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ build-backend = "setuptools.build_meta"

[project]
name = "slack_sdk"
dynamic = ["version", "readme", "authors", "optional-dependencies"]
dynamic = ["version", "readme", "optional-dependencies"]
description = "The Slack API Platform SDK for Python"
license = { text = "MIT" }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not for this PR: setuptools warns that the table form of license is deprecated (and so is the license classifier). Moving to license = "MIT" needs setuptools>=77, which doesn't work with our Python 3.7 support, so maybe that's a follow-up once we drop older Pythons.

authors = [{ name = "Slack Technologies, LLC" }, { email = "opensource@slack.com" }]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, splitting name and email into separate entries is what keeps Author: and Author-email: as two fields. A combined { name, email } entry would emit only Author-email: "Slack Technologies, LLC" <opensource@slack.com> and change the pip show output.

requires-python = ">=3.7"
keywords = [
"slack",
Expand Down Expand Up @@ -42,6 +43,7 @@ classifiers = [


[project.urls]
Homepage = "https://github.com/slackapi/python-slack-sdk"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Confirmed this shows up as Project-URL: Homepage, ... in METADATA instead of the old Home-page: header. pip 24.1+ maps it back to Home-page in pip show, while pip 24.0 shows it empty, matching the caveat in the description. Seems fine to me.

Documentation = "https://docs.slack.dev/tools/python-slack-sdk/"
Source = "https://github.com/slackapi/python-slack-sdk"

Expand Down
5 changes: 0 additions & 5 deletions setup.cfg

This file was deleted.

Loading