#!/usr/bin/env python from setuptools import setup from io import open import re def read(filename): with open(filename, encoding='utf-8') as file: return file.read() with open('telebot/version.py', 'r', encoding='utf-8') as f: # Credits: LonamiWebs version = re.search(r"^__version__\s*=\s*'(.*)'.*$", f.read(), flags=re.MULTILINE).group(1) setup(name='pyTelegramBotAPI', version=version, description='Python Telegram bot api. ', long_description=read('README.md'), long_description_content_type="text/markdown", author='eternnoir', author_email='eternnoir@gmail.com', url='https://github.com/eternnoir/pyTelegramBotAPI', packages=['telebot'], license='GPL2', keywords='telegram bot api tools', install_requires=['requests', 'six'], extras_require={ 'json': 'ujson', 'redis': 'redis>=3.4.1' }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python :: 3', 'Environment :: Console', 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', ] )