forked from hfaran/slack-export-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (42 loc) · 1.56 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
import os
import codecs
from setuptools import setup, find_packages
import slackviewer
def read(filename):
"""Read and return `filename` in root dir of project and return string"""
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, filename), 'r', encoding='UTF-8').read()
install_requires = read("requirements.txt").split()
long_description = read('README.md')
setup(
name="slack-export-viewer",
version=slackviewer.__version__,
url='https://github.com/hfaran/slack-export-viewer',
license='MIT License',
author='Hamza Faran',
author_email='hamzafaran@outlook.com',
description=('Slack Export Archive Viewer'),
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=install_requires,
entry_points={'console_scripts': [
'slack-export-viewer = slackviewer.main:main',
'slack-export-viewer-cli = slackviewer.cli:cli'
]},
include_package_data=True,
# https://github.com/mitsuhiko/flask/issues/1562
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
)