mirror of
https://github.com/gryf/slack-backup.git
synced 2025-12-17 11:30:25 +01:00
If comment is sent by the user, different structure of the data is sent. First of all, the type of this message is "message", but it contain dictionary under 'comment' key, which can be confusing, which contain needed data (like user id). For this kind of messages, in case of lack of 'user' in main dict, dict['comment']['user'] will be used for getting user identifier, while dict['text'] remains as a message text.
37 lines
1.4 KiB
Python
37 lines
1.4 KiB
Python
#!/usr/bin/env python3
|
|
"""
|
|
Setup for the slack-backup project
|
|
"""
|
|
try:
|
|
from setuptools import setup
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
|
|
|
|
setup(name="slack-backup",
|
|
packages=["slack_backup"],
|
|
version="0.4.5",
|
|
description="Make copy of slack converstaions",
|
|
author="Roman Dobosz",
|
|
author_email="gryf73@gmail.com",
|
|
url="https://github.com/gryf/slack-backup",
|
|
download_url="https://github.com/gryf/slack-backup",
|
|
keywords=["chat", "backup", "history", "slack"],
|
|
install_requires=["sqlalchemy", "slackclient"],
|
|
scripts=["scripts/slack-backup"],
|
|
classifiers=["Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.4",
|
|
"Development Status :: 3 - Alpha",
|
|
"Environment :: Console",
|
|
"Intended Audience :: End Users/Desktop",
|
|
"License :: OSI Approved :: BSD License",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
"Topic :: Database :: Front-Ends",
|
|
"Topic :: Communications :: Chat",
|
|
"Topic :: Text Processing :: Markup",
|
|
"Topic :: Text Processing :: Markup :: HTML"],
|
|
long_description=open("README.rst").read(),
|
|
options={'test': {'verbose': False,
|
|
'coverage': False}})
|