Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
efb-telegram-master/setup.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
76 lines (70 sloc)
2.46 KB
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
import sys | |
import os | |
from setuptools import setup, find_packages | |
if sys.version_info < (3, 6): | |
raise Exception( | |
"Python 3.6 or higher is required. Your version is %s." % sys.version) | |
version_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), | |
'efb_telegram_master/__version__.py') | |
__version__ = "" | |
exec(open(version_path).read()) | |
long_description = open('README.rst').read() | |
tests_require = ["pytest", "telethon", "cryptg", "pytest-dotenv", "flaky", | |
"pytest-asyncio", "mypy>=0.910", "pytest-html", "doit", | |
"PySocks", "coverage", "sphinx"] | |
setup( | |
name='efb-telegram-master', | |
packages=find_packages( | |
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), | |
version=__version__, | |
description='Telegram Master Channel for EH Forwarder Bot, based on Telegram Bot API.', | |
long_description=long_description, | |
author='Eana Hufwe', | |
author_email='ilove@1a23.com', | |
url='https://etm.1a23.studio', | |
license='AGPLv3+', | |
include_package_data=True, | |
python_requires='>=3.6', | |
keywords=['ehforwarderbot', 'EH Forwarder Bot', 'EH Forwarder Bot Master Channel', 'Telegram', | |
'Telegram Bot', 'chatbot'], | |
classifiers=[ | |
"Development Status :: 4 - Beta", | |
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", | |
"Intended Audience :: Developers", | |
"Intended Audience :: End Users/Desktop", | |
"Programming Language :: Python :: 3 :: Only", | |
"Programming Language :: Python :: 3.6", | |
"Programming Language :: Python :: 3.7", | |
"Topic :: Communications :: Chat", | |
"Topic :: Utilities" | |
], | |
tests_require=tests_require, | |
install_requires=[ | |
"ehforwarderbot>=2.0.0", | |
"python-telegram-bot~=13.11", | |
"python-magic", | |
"ffmpeg-python", | |
"peewee", | |
"requests", | |
"pydub", | |
"ruamel.yaml", | |
"pillow", | |
"language-tags", | |
"retrying", | |
"bullet>=2.2.0", | |
"cjkwrap", | |
"humanize", | |
"typing-extensions>=3.7.4.1", | |
], | |
extras_require={ | |
"tests": tests_require, | |
"tgs": [ | |
"lottie", | |
"cairosvg", # required by ``lottie`` to export GIF | |
], | |
}, | |
entry_points={ | |
"ehforwarderbot.master": "blueset.telegram = efb_telegram_master:TelegramChannel", | |
"ehforwarderbot.wizard": "blueset.telegram = efb_telegram_master.wizard:wizard" | |
} | |
) |