From 00bb7cdd70d91699c66da4b273c87ab11c39b1ae Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Wed, 31 Jan 2024 03:38:10 -0500 Subject: [PATCH] Add optional dependency (#1456) --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1976da1a..a0bf06c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "slack_sdk" -dynamic = ["version", "readme", "authors"] +dynamic = ["version", "readme", "authors", "optional-dependencies"] description = "The Slack API Platform SDK for Python" license = { text = "MIT" } requires-python = ">=3.6" @@ -48,6 +48,7 @@ include = ["slack*", "slack_sdk*"] [tool.setuptools.dynamic] version = { attr = "slack_sdk.version.__version__" } readme = { file = ["README.md"], content-type = "text/markdown" } +optional-dependencies.optional = { file = ["requirements/optional.txt"] } [tool.distutils.bdist_wheel] universal = true