Skip to content

Commit

Permalink
Maintain pip show command
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamBergamin committed Dec 1, 2023
1 parent aef6a7f commit 69b73eb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[build-system]
requires = ["setuptools", "pytest-runner", "wheel"]
requires = ["setuptools", "pytest-runner"]
build-backend = "setuptools.build_meta"

[project]
name = "slack_sdk"
dynamic = ["version", "readme"]
dynamic = ["version", "readme", "authors"]
description = "The Slack API Platform SDK for Python"
license = { text = "MIT" }
authors = [{ name = "Slack Technologies, LLC", email = "[email protected]" }]
requires-python = ">=3.6"
keywords = [
"slack",
Expand Down Expand Up @@ -41,10 +40,10 @@ classifiers = [


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

[tool.setuptools.packages.find]
include = ["slack*"]
include = ["slack*", "slack_sdk*"]

[tool.setuptools.dynamic]
version = { attr = "slack_sdk.version.__version__" }
Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; Legacy package configuration, prefer pyproject.toml over setup.cfg or setup.py
[metadata]
url=https://github.com/slackapi/python-slack-sdk
author=Slack Technologies, LLC
author_email[email protected]
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

from setuptools import setup, Command

###################################################################################
# Legacy package configuration, prefer pyproject.toml over setup.cfg or setup.py #
###################################################################################

here = os.path.abspath(os.path.dirname(__file__))

codegen_dependencies = [
Expand Down

0 comments on commit 69b73eb

Please sign in to comment.