forked from prgofficial/FileToLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (39 loc) · 1.2 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
import setuptools
from tgfilestream import __version__
try:
long_desc = open("README.md").read()
except IOError:
long_desc = "Failed to read README.md"
setuptools.setup(
name="tgfilestream",
version=__version__,
url="https://mau.dev/tulir/tgfilestream",
author="Tulir Asokan",
author_email="[email protected]",
description="A Telegram bot that can stream Telegram files to users over HTTP.",
long_description=long_desc,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
install_requires=[
"aiohttp>=3",
"telethon>=1.10",
"yarl>=1",
],
extras_require={
"fast": ["cryptg>=0.2"],
},
python_requires="~=3.7",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Framework :: AsyncIO",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
entry_points="""
[console_scripts]
tgfilestream=tgfilestream.__main__:main
""",
)