Fix logo not showing up on PyPI website
This commit is contained in:
parent
af0c05ae3e
commit
a7970cedf5
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)
|
||||
|
Loading…
Reference in New Issue
Block a user