forked from prgofficial/FileToLink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix download resumption and add stuff
- Loading branch information
Showing
3 changed files
with
131 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
aiohttp | ||
yarl | ||
telethon | ||
cryptg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import setuptools | ||
|
||
try: | ||
long_desc = open("README.md").read() | ||
except IOError: | ||
long_desc = "Failed to read README.md" | ||
|
||
setuptools.setup( | ||
name="tgfilestream", | ||
version="0.1.0", | ||
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.6", | ||
|
||
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 | ||
""", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters