From a7970cedf57df834655bac37b73030222eb8927a Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 14 Dec 2017 00:13:51 +0100 Subject: [PATCH] Fix logo not showing up on PyPI website --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c3bc6d6a..75642869 100644 --- a/setup.py +++ b/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)