-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
35 lines (29 loc) · 850 Bytes
/
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
import pathlib
from setuptools import find_packages, setup
def read(name, encoding="ascii"):
filename = pathlib.Path(__file__).absolute().parent / name
return open(filename, "r", encoding=encoding).read()
REQUIREMENTS = [
"slack-sdk>=3.12.0",
"slackeventsapi>=3.0.0",
"aiohttp",
"markdown>=3.3.6",
]
setup(
name="errbot-backend-slackv3",
version="0.2.1",
description="Errbot SlackV3 backend plugin",
author="Errbot",
packages=find_packages(where="src"),
package_dir={"": "src"},
package_data={"slackv3": ["*.plug"]},
include_package_data=True,
install_requires=REQUIREMENTS,
long_description_content_type="text/markdown",
long_description=read("README.md"),
entry_points={
"errbot.backend_plugins": [
"slack = slackv3:SlackBackend",
]
},
)