-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (35 loc) · 1.11 KB
/
Copy pathsetup.py
File metadata and controls
40 lines (35 loc) · 1.11 KB
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
#!/usr/bin/env python
from setuptools import setup
import os.path
try:
DIR = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(DIR, "README.md"), encoding='utf-8') as f:
long_description = f.read()
except Exception:
long_description=None
setup(
name="slack-read-only-bot",
version="1.0.0",
description="Make Slack channels read-only by restricting which users can post to them",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pR0Ps/slack-read-only-bot",
license="GPLv3",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Communications :: Chat",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
],
python_requires=">=3.6,<4",
install_requires=[
"slackclient>=1.1.0,<2.0.0",
"pyyaml>=5.4.1,<7.0.0",
],
py_modules=["slack_read_only_bot"],
entry_points={
"console_scripts": [
"slack-read-only-bot=slack_read_only_bot:main"
]
},
)