forked from sgratzl/slack-cleaner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (37 loc) · 1.16 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
import re
import sys
pkg_file = open("slack_cleaner/__init__.py").read()
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", pkg_file))
description = open('README.md').read()
from setuptools import setup, find_packages
install_requires = []
setup(
name='slack-cleaner',
description='Bulk delete messages/files on Slack.',
packages=find_packages(),
author=metadata['author'],
author_email=metadata['authoremail'],
version=metadata['version'],
url='https://github.com/sgratzl/slack-cleaner',
license="MIT",
keywords="slack, clean, delete, message, file",
long_description=description,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
install_requires=[
'setuptools',
'slacker>=0.13',
'colorama',
] + install_requires,
entry_points={
'console_scripts': [
'slack-cleaner = slack_cleaner.cli:main'
]
}
)