From 69b73eb9e31d63a859fec59c28ed9a74ccb1d774 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 1 Dec 2023 10:46:07 -0500 Subject: [PATCH] Maintain pip show command --- pyproject.toml | 9 ++++----- setup.cfg | 5 +++++ setup.py | 4 ++++ 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index 618b2078..1976da1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "opensource@slack.com" }] requires-python = ">=3.6" keywords = [ "slack", @@ -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__" } diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..384126b6 --- /dev/null +++ b/setup.cfg @@ -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=opensource@slack.com diff --git a/setup.py b/setup.py index 222114db..6be1405b 100644 --- a/setup.py +++ b/setup.py @@ -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 = [