forked from ErikKalkoken/slackchannel2pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (48 loc) · 1.65 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
51
52
53
import os
from setuptools import find_packages, setup
from slackchannel2pdf import __version__
# read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name="slackchannel2pdf-kr",
version=__version__,
packages=find_packages(),
include_package_data=True,
license="MIT",
description=(
"slackchannel2pdf-kr is a command line tool for exporting the text "
"contents of any Slack channel to a PDF file based on slackchannel2pdf"
),
long_description=long_description,
long_description_content_type="text/markdown",
author="Erik Kalkoken",
author_email="kalkoken87@gmail.com",
classifiers=[
"Environment :: Console",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires="~=3.7",
install_requires=[
"Babel>=2.9.1,<3",
"pytz>=2019.1",
"python-dateutil>=2.8.0,<3",
"slack_sdk>=3.15.2,<4",
"tzlocal>=2.0.0,<3",
],
entry_points={
"console_scripts": [
"slackchannel2pdf-kr=slackchannel2pdf.cli:main",
],
},
)