From 3dc75965e26cfc2713fae859d25be489cdd1e595 Mon Sep 17 00:00:00 2001 From: Konstantin M Date: Wed, 14 Mar 2018 02:16:35 +0300 Subject: [PATCH] Fork rebranding --- optional-requirements.txt | 1 + setup.py | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/optional-requirements.txt b/optional-requirements.txt index fb83c1ab..15871a78 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -2,3 +2,4 @@ cryptg pysocks hachoir3 sqlalchemy +redis diff --git a/setup.py b/setup.py index 05ca9197..4fd005a6 100755 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ def main(): # Try importing the telethon module to assert it has no errors try: import telethon - except: + except Exception: print('Packaging for PyPi aborted, importing the module failed.') return @@ -113,16 +113,18 @@ def main(): version = re.search(r"^__version__\s*=\s*'(.*)'.*$", f.read(), flags=re.MULTILINE).group(1) setup( - name='Telethon', + name='Telethon-ezdev128', version=version, - description="Full-featured Telegram client library for Python 3", + description="Full-featured Telegram client library for Python 3 (ezdev128's fork-and-merge)", long_description=long_description, - url='https://github.com/LonamiWebs/Telethon', - download_url='https://github.com/LonamiWebs/Telethon/releases', + url='https://github.com/ezdev128/Telethon', + download_url='https://github.com/ezdev128/Telethon/releases', - author='Lonami Exo', - author_email='totufals@hotmail.com', + author='Konstantin M.', + author_email='ezdev128@yandex.com', + maintainer='Konstantin M.', + maintainer_email='ezdev128@yandex.com', license='MIT', @@ -157,7 +159,8 @@ def main(): 'typing' if version_info < (3, 5) else ""], extras_require={ 'cryptg': ['cryptg'], - 'sqlalchemy': ['sqlalchemy'] + 'sqlalchemy': ['sqlalchemy'], + 'redis': ['redis'], } )