Update setup.py

This commit is contained in:
Dan 2018-02-17 15:37:58 +01:00
parent 35da6eaf0b
commit 69e4ebfa55

View File

@ -37,7 +37,7 @@ with open("pyrogram/__init__.py", encoding="utf-8") as f:
# PyPI doesn't like raw html
with open("README.rst", encoding="utf-8") as f:
readme = re.sub(r"\.\. \|.+\| raw:: html(?:\s{4}.+)+\n\n", "", f.read())
readme = re.sub(r"\|header\|", "|logo|\n\n|description|\n\n|scheme| |mtproto|", readme)
readme = re.sub(r"\|header\|", "|logo|\n\n|description|\n\n|scheme| |tgcrypto|", readme)
setup(
name="Pyrogram",