Skip to content

Commit e098734

Browse files
committed
Add logo to PyPI description
1 parent 26c0cef commit e098734

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,16 @@ def find_meta(meta):
9999
raise RuntimeError("Unable to find __{meta}__ string.".format(meta=meta))
100100

101101

102+
LOGO = """
103+
.. image:: https://www.attrs.org/en/stable/_static/attrs_logo.png
104+
:alt: attrs logo
105+
:align: center
106+
""" # noqa
107+
102108
VERSION = find_meta("version")
103109
URL = find_meta("url")
104110
LONG = (
105-
"======================================\n"
106-
"``attrs``: Classes Without Boilerplate\n"
107-
"======================================\n"
111+
LOGO
108112
+ read("README.rst").split(".. teaser-begin")[1]
109113
+ "\n\n"
110114
+ "Release Information\n"

0 commit comments

Comments
 (0)