diff --git a/setup.py b/setup.py index b88f5928..da038d24 100755 --- a/setup.py +++ b/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( + "", + "", +) + description = '\n'.join([README, CHANGELOG]) setup(