forked from rahiel/telegram-send
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (41 loc) · 1.59 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
#!/usr/bin/env python3
from setuptools import setup
from telegram_send import __version__
try:
import pypandoc
import re
long_description = pypandoc.convert("README.md", "rst")
# remove raw html blocks, they're not supported on pypi
long_description = re.sub("\s+\.\. raw:: html\s*.+? -->", "", long_description, count=2)
except:
long_description = ""
setup(
name="telegram-send",
version=__version__,
description="Send messages and files over Telegram from the command-line.",
long_description=long_description,
url="https://github.com/rahiel/telegram-send",
license="GPLv3+",
py_modules=["telegram_send"],
install_requires=["python-telegram-bot>=5.0", "colorama", "appdirs"],
entry_points={"console_scripts": ["telegram-send=telegram_send:main"]},
author="Rahiel Kasim",
author_email="rahielkasim@gmail.com",
# https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Communications :: Chat",
"Topic :: Utilities"
],
keywords="telegram send message file"
)