Skip to content

Commit

Permalink
Merge pull request #3094 from kurtmckee/fix-readme-link-on-pypi-issue…
Browse files Browse the repository at this point in the history
…-3093

Fixes #3093
  • Loading branch information
justinmayer committed Jan 30, 2023
2 parents 7850153 + f50bf26 commit 95ff3b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
README = open('README.rst', encoding='utf-8').read()
CHANGELOG = open('docs/changelog.rst', encoding='utf-8').read()

# Relative links in the README must be converted to absolute URL's
# so that they render correctly on PyPI.
README = README.replace(
"<CONTRIBUTING.rst>",
"<https://docs.getpelican.com/en/latest/contribute.html>",
)

description = '\n'.join([README, CHANGELOG])

setup(
Expand Down

0 comments on commit 95ff3b8

Please sign in to comment.