mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #3094 from kurtmckee/fix-readme-link-on-pypi-issue-3093
Fixes https://github.com/getpelican/pelican/issues/3093
This commit is contained in:
commit
95ff3b8e62
1 changed files with 7 additions and 0 deletions
7
setup.py
7
setup.py
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue