Skip to content

Commit

Permalink
Add logo to PyPI description
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Dec 28, 2021
1 parent 26c0cef commit e098734
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,16 @@ def find_meta(meta):
raise RuntimeError("Unable to find __{meta}__ string.".format(meta=meta))


LOGO = """
.. image:: https://www.attrs.org/en/stable/_static/attrs_logo.png
:alt: attrs logo
:align: center
""" # noqa

VERSION = find_meta("version")
URL = find_meta("url")
LONG = (
"======================================\n"
"``attrs``: Classes Without Boilerplate\n"
"======================================\n"
LOGO
+ read("README.rst").split(".. teaser-begin")[1]
+ "\n\n"
+ "Release Information\n"
Expand Down

0 comments on commit e098734

Please sign in to comment.