Add logo to PyPI description
This commit is contained in:
parent
26c0cef8e4
commit
e09873485e
10
setup.py
10
setup.py
|
@ -99,12 +99,16 @@ def find_meta(meta):
|
||||||
raise RuntimeError("Unable to find __{meta}__ string.".format(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")
|
VERSION = find_meta("version")
|
||||||
URL = find_meta("url")
|
URL = find_meta("url")
|
||||||
LONG = (
|
LONG = (
|
||||||
"======================================\n"
|
LOGO
|
||||||
"``attrs``: Classes Without Boilerplate\n"
|
|
||||||
"======================================\n"
|
|
||||||
+ read("README.rst").split(".. teaser-begin")[1]
|
+ read("README.rst").split(".. teaser-begin")[1]
|
||||||
+ "\n\n"
|
+ "\n\n"
|
||||||
+ "Release Information\n"
|
+ "Release Information\n"
|
||||||
|
|
Loading…
Reference in New Issue