-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
56 lines (49 loc) · 1.58 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
53
54
55
56
# Copyright 2021, Slack Technologies, LLC. All rights reserved.
#!/usr/bin/env python
import os
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
__version__ = None
exec(open(f"{here}/slack_discovery_sdk/version.py").read())
with open(f"{here}/README.md", "r") as fh:
long_description = fh.read()
test_dependencies = [
"slack_sdk>=3.21.3,<4",
"pytest>=6,<7",
"pytest-cov>=3,<4",
"black==22.8.0", # 22.10.0 or newer no longer exist for Python 3.6
]
setuptools.setup(
name="slack-discovery-sdk",
version=__version__,
author="Slack Technologies, LLC",
description="The Slack Discovery API SDK for Python",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(
exclude=[
"tests",
"tests.*",
]
),
include_package_data=True, # MANIFEST.in
install_requires=[],
setup_requires=["pytest-runner==5.2"],
tests_require=test_dependencies,
test_suite="tests",
extras_require={
# pip install -e ".[testing]"
"testing": test_dependencies,
},
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)