From 28f51da1bdf2927c5f677fb18d92aa6759fda5c4 Mon Sep 17 00:00:00 2001 From: guangrei <20879950+guangrei@users.noreply.github.com> Date: Wed, 14 Feb 2024 11:07:28 +0700 Subject: [PATCH] fix pip install --- TelegramSDK/__init__.py | 5 ----- setup.py | 7 +++---- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/TelegramSDK/__init__.py b/TelegramSDK/__init__.py index 69e5e2d..41638f1 100644 --- a/TelegramSDK/__init__.py +++ b/TelegramSDK/__init__.py @@ -1,8 +1,3 @@ # -*-coding:utf8;-*- from .telegram import telegram from .util import util - -__author__ = "guangrei" -__email__ = "myawn@pm.me" -__version__ = "v0.1.0" - diff --git a/setup.py b/setup.py index 08136cd..18c7e3e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,6 @@ import sys from setuptools import setup from os import path -import TelegramSDK as pkg this_directory = path.abspath(path.dirname(__file__)) @@ -10,12 +9,12 @@ long_description = f.read() setup( name="TelSDK", - version=pkg.__version__, + version="v0.1.1", description="Synchronous Telegram bot SDK for python 2 & 3", long_description=long_description, long_description_content_type="text/markdown", - author=pkg.__author__, - author_email=pkg.__email__, + author="guangrei", + author_email="myawn@pm.me", url="https://github.com/cirebon-dev/TelegramSDK", packages=["TelegramSDK"], license="MIT",