-
Notifications
You must be signed in to change notification settings - Fork 248
/
setup.py
executable file
·52 lines (48 loc) · 1.63 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
from glob import glob
from os.path import splitext, basename
import setuptools
__version__ = None
exec(open("src/slack_bolt/version.py").read())
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="slack_bolt",
version=__version__,
author="Slack Technologies, Inc.",
author_email="opensource@slack.com",
description="The Bolt Framework for Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/slackapi/bolt-python",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
setup_requires=["pytest-runner==5.2"],
tests_require=["pytest==3.8.2"],
install_requires=[
"slackclient>=2,<3", # TODO: will be replaced with slack_sdk==3.0.0
"aiohttp>=3,<4", # slackclient depends on aiohttp
],
extra_requires=[
# used only under src/slack_bolt/adapter
"Django>=3,<4",
"falcon>=2,<3",
"fastapi>=0.54,<0.55",
"Flask>=1,<2",
"pyramid>=1,<2",
"responder>=2,<3",
"starlette>=0.13,<1",
# used only under src/slack_sdk/*_store
"boto3<=2",
],
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)