Skip to content

Commit

Permalink
Remove changelog from long_description to avoid reference problems
Browse files Browse the repository at this point in the history
  • Loading branch information
uvchik committed Aug 9, 2021
1 parent 68920e8 commit 99a193e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ def read(*names, **kwargs):
return fh.read()


long_description = "%s\n%s" % (
long_description = "%s" % (
re.compile("^.. start-badges.*^.. end-badges", re.M | re.S).sub(
"", read("README.rst")
),
re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst")),
)
)


Expand Down

0 comments on commit 99a193e

Please sign in to comment.