mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-31 06:16:06 +00:00
Fix logo not showing up on PyPI website
This commit is contained in:
2
setup.py
2
setup.py
@@ -31,6 +31,6 @@ if len(argv) > 1 and argv[1] != "sdist":
|
||||
# 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\n|description|\n\n|scheme| |mtproto|", readme)
|
||||
readme = re.sub(r"\|header\|", "|logo|\n\n|description|\n\n|scheme| |mtproto|", readme)
|
||||
|
||||
setup(long_description=readme)
|
||||
|
Reference in New Issue
Block a user