diff options
author | Justin Mayer <entroP@gmail.com> | 2023-01-30 18:00:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 18:00:38 +0100 |
commit | 95ff3b8e628ba483de345b838de7c0052b2f3b02 (patch) | |
tree | 7e397c55694d041d4e351c0c680077eebda7efab | |
parent | 7850153c54e9295e73ffb42710b0b809c6ed096a (diff) | |
parent | f50bf26466f342d185760783cad018ca832ca858 (diff) | |
download | pelican-95ff3b8e628ba483de345b838de7c0052b2f3b02.tar.gz |
Merge pull request #3094 from kurtmckee/fix-readme-link-on-pypi-issue-3093
Fixes https://github.com/getpelican/pelican/issues/3093
-rwxr-xr-x | setup.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -25,6 +25,13 @@ entry_points = { 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( |