1- # black project prefers pyproject.toml
2- # that's why we have this file in addition to other setting files
1+ [build-system ]
2+ requires = [" setuptools" , " pytest-runner" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " slack_sdk"
7+ dynamic = [" version" , " readme" , " authors" ]
8+ description = " The Slack API Platform SDK for Python"
9+ license = { text = " MIT" }
10+ requires-python = " >=3.6"
11+ keywords = [
12+ " slack" ,
13+ " slack-api" ,
14+ " web-api" ,
15+ " slack-rtm" ,
16+ " websocket" ,
17+ " chat" ,
18+ " chatbot" ,
19+ " chatops" ,
20+ ]
21+ classifiers = [
22+ " Development Status :: 5 - Production/Stable" ,
23+ " Intended Audience :: Developers" ,
24+ " Topic :: Communications :: Chat" ,
25+ " Topic :: System :: Networking" ,
26+ " Topic :: Office/Business" ,
27+ " License :: OSI Approved :: MIT License" ,
28+ " Programming Language :: Python" ,
29+ " Programming Language :: Python :: 3 :: Only" ,
30+ " Programming Language :: Python :: 3.6" ,
31+ " Programming Language :: Python :: 3.7" ,
32+ " Programming Language :: Python :: 3.8" ,
33+ " Programming Language :: Python :: 3.9" ,
34+ " Programming Language :: Python :: 3.10" ,
35+ " Programming Language :: Python :: 3.11" ,
36+ " Programming Language :: Python :: 3.12" ,
37+ " Programming Language :: Python :: Implementation :: CPython" ,
38+ " Programming Language :: Python :: Implementation :: PyPy" ,
39+ ]
40+
41+
42+ [project .urls ]
43+ Documentation = " https://slack.dev/python-slack-sdk/"
44+
45+ [tool .setuptools .packages .find ]
46+ include = [" slack*" , " slack_sdk*" ]
47+
48+ [tool .setuptools .dynamic ]
49+ version = { attr = " slack_sdk.version.__version__" }
50+ readme = { file = [" README.md" ], content-type = " text/markdown" }
51+
52+ [tool .distutils .bdist_wheel ]
53+ universal = true
54+
355[tool .black ]
4- line-length = 125
56+ line-length = 125
57+
58+ [tool .pytest .ini_options ]
59+ testpaths = [" tests" ]
60+ log_file = " logs/pytest.log"
61+ log_file_level = " DEBUG"
62+ log_format = " %(asctime)s %(levelname)s %(message)s"
63+ log_date_format = " %Y-%m-%d %H:%M:%S"
64+ filterwarnings = [
65+ " ignore:\" @coroutine\" decorator is deprecated since Python 3.8, use \" async def\" instead:DeprecationWarning" ,
66+ " ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning" ,
67+ " ignore:slack.* package is deprecated. Please use slack_sdk.* package instead.*:UserWarning" ,
68+ ]
69+ asyncio_mode = " auto"
0 commit comments