We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2224198 commit e453099Copy full SHA for e453099
setup.py
@@ -62,7 +62,16 @@ def better_set_verbosity(v):
62
exec(compile(version_file.read(), cov_ver_py, 'exec'))
63
64
with open("README.rst") as readme:
65
- long_description = readme.read().replace("https://coverage.readthedocs.io", __url__)
+ readme_text = readme.read()
66
+
67
+temp_url = __url__.replace("readthedocs", "@@")
68
+assert "@@" not in readme_text
69
+long_description = (
70
+ readme_text
71
+ .replace("https://coverage.readthedocs.io/en/latest", temp_url)
72
+ .replace("https://coverage.readthedocs.io", temp_url)
73
+ .replace("@@", "readthedocs")
74
+)
75
76
with open("CONTRIBUTORS.txt", "rb") as contributors:
77
paras = contributors.read().split(b"\n\n")
0 commit comments