prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  A dead link on PyPI for the contributions and feedback
  I just stumbled upon [Pelican's page in PyPI](https://pypi.org/project/pelican/) and found that the l[ink for the contributions and feedback](https://pypi.org/project/pelican/CONTRIBUTING.rst) is dead.  Perhaps, it needs to be updated?
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 #!/usr/bin/env python
  2 
  3 from os import walk
  4 from os.path import join, relpath
  5 
  6 from setuptools import find_packages, setup
  7 
  8 
  9 version = "4.8.0"
  10 
  11 requires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments',
  12             'docutils>=0.15', 'pytz >= 0a', 'blinker', 'unidecode',
  13             'python-dateutil', 'rich']
  14 
  15 entry_points = {
  16     'console_scripts': [
  17         'pelican = pelican.__main__:main',
  18         'pelican-import = pelican.tools.pelican_import:main',
  19         'pelican-quickstart = pelican.tools.pelican_quickstart:main',
  20         'pelican-themes = pelican.tools.pelican_themes:main',
  21         'pelican-plugins = pelican.plugins._utils:list_plugins'
  22     ]
  23 }
  24 
  25 README = open('README.rst', encoding='utf-8').read()
  26 CHANGELOG = open('docs/changelog.rst', encoding='utf-8').read()
  27 
  28 description = '\n'.join([README, CHANGELOG])
  29 
  30 setup(
  31     name='pelican',
  32     version=version,
  33     url='https://getpelican.com/',
  34     author='Justin Mayer',
  35     author_email='authors@getpelican.com',
  36     description="Static site generator supporting reStructuredText and "
  37                 "Markdown source content.",
  38     project_urls={
  39         'Documentation': 'https://docs.getpelican.com/',
  40         'Funding': 'https://donate.getpelican.com/',
  41         'Source': 'https://github.com/getpelican/pelican',
  42         'Tracker': 'https://github.com/getpelican/pelican/issues',
  43     },
  44     keywords='static web site generator SSG reStructuredText Markdown',
  45     license='AGPLv3',
  46     long_description=description,
  47     long_description_content_type='text/x-rst',
  48     packages=find_packages(),
  49     include_package_data=True,  # includes all in MANIFEST.in if in package
  50     # NOTE : This will collect any files that happen to be in the themes
  51     # directory, even though they may not be checked into version control.
  52     package_data={  # pelican/themes is not a package, so include manually
  53         'pelican': [relpath(join(root, name), 'pelican')
  54                     for root, _, names in walk(join('pelican', 'themes'))
  55                     for name in names],
  56     },
  57     install_requires=requires,
  58     extras_require={
  59         'Markdown': ['markdown~=3.1.1']
  60     },
  61     entry_points=entry_points,
  62     classifiers=[
  63         'Development Status :: 5 - Production/Stable',
  64         'Environment :: Console',
  65         'Framework :: Pelican',
  66         'License :: OSI Approved :: GNU Affero General Public License v3',
  67         'Operating System :: OS Independent',
  68         'Programming Language :: Python :: 3',
  69         'Programming Language :: Python :: 3.7',
  70         'Programming Language :: Python :: 3.8',
  71         'Programming Language :: Python :: 3.9',
  72         'Programming Language :: Python :: 3.10',
  73         'Programming Language :: Python :: Implementation :: CPython',
  74         'Topic :: Internet :: WWW/HTTP',
  75         'Topic :: Software Development :: Libraries :: Python Modules',
  76     ],
  77     test_suite='pelican.tests',
  78 )
  79
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -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(
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -25,6 +25,13 @@\n README = open('README.rst', encoding='utf-8').read()\n CHANGELOG = open('docs/changelog.rst', encoding='utf-8').read()\n \n+# Relative links in the README must be converted to absolute URL's\n+# so that they render correctly on PyPI.\n+README = README.replace(\n+    \"<CONTRIBUTING.rst>\",\n+    \"<https://docs.getpelican.com/en/latest/contribute.html>\",\n+)\n+\n description = '\\n'.join([README, CHANGELOG])\n \n setup(\n", "issue": "A dead link on PyPI for the contributions and feedback\nI just stumbled upon [Pelican's page in PyPI](https://pypi.org/project/pelican/) and found that the l[ink for the contributions and feedback](https://pypi.org/project/pelican/CONTRIBUTING.rst) is dead.  Perhaps, it needs to be updated?\n", "before_files": [{"content": "#!/usr/bin/env python\n\nfrom os import walk\nfrom os.path import join, relpath\n\nfrom setuptools import find_packages, setup\n\n\nversion = \"4.8.0\"\n\nrequires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments',\n            'docutils>=0.15', 'pytz >= 0a', 'blinker', 'unidecode',\n            'python-dateutil', 'rich']\n\nentry_points = {\n    'console_scripts': [\n        'pelican = pelican.__main__:main',\n        'pelican-import = pelican.tools.pelican_import:main',\n        'pelican-quickstart = pelican.tools.pelican_quickstart:main',\n        'pelican-themes = pelican.tools.pelican_themes:main',\n        'pelican-plugins = pelican.plugins._utils:list_plugins'\n    ]\n}\n\nREADME = open('README.rst', encoding='utf-8').read()\nCHANGELOG = open('docs/changelog.rst', encoding='utf-8').read()\n\ndescription = '\\n'.join([README, CHANGELOG])\n\nsetup(\n    name='pelican',\n    version=version,\n    url='https://getpelican.com/',\n    author='Justin Mayer',\n    author_email='authors@getpelican.com',\n    description=\"Static site generator supporting reStructuredText and \"\n                \"Markdown source content.\",\n    project_urls={\n        'Documentation': 'https://docs.getpelican.com/',\n        'Funding': 'https://donate.getpelican.com/',\n        'Source': 'https://github.com/getpelican/pelican',\n        'Tracker': 'https://github.com/getpelican/pelican/issues',\n    },\n    keywords='static web site generator SSG reStructuredText Markdown',\n    license='AGPLv3',\n    long_description=description,\n    long_description_content_type='text/x-rst',\n    packages=find_packages(),\n    include_package_data=True,  # includes all in MANIFEST.in if in package\n    # NOTE : This will collect any files that happen to be in the themes\n    # directory, even though they may not be checked into version control.\n    package_data={  # pelican/themes is not a package, so include manually\n        'pelican': [relpath(join(root, name), 'pelican')\n                    for root, _, names in walk(join('pelican', 'themes'))\n                    for name in names],\n    },\n    install_requires=requires,\n    extras_require={\n        'Markdown': ['markdown~=3.1.1']\n    },\n    entry_points=entry_points,\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Framework :: Pelican',\n        'License :: OSI Approved :: GNU Affero General Public License v3',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n        'Programming Language :: Python :: 3.9',\n        'Programming Language :: Python :: 3.10',\n        'Programming Language :: Python :: Implementation :: CPython',\n        'Topic :: Internet :: WWW/HTTP',\n        'Topic :: Software Development :: Libraries :: Python Modules',\n    ],\n    test_suite='pelican.tests',\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n\nfrom os import walk\nfrom os.path import join, relpath\n\nfrom setuptools import find_packages, setup\n\n\nversion = \"4.8.0\"\n\nrequires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments',\n            'docutils>=0.15', 'pytz >= 0a', 'blinker', 'unidecode',\n            'python-dateutil', 'rich']\n\nentry_points = {\n    'console_scripts': [\n        'pelican = pelican.__main__:main',\n        'pelican-import = pelican.tools.pelican_import:main',\n        'pelican-quickstart = pelican.tools.pelican_quickstart:main',\n        'pelican-themes = pelican.tools.pelican_themes:main',\n        'pelican-plugins = pelican.plugins._utils:list_plugins'\n    ]\n}\n\nREADME = open('README.rst', encoding='utf-8').read()\nCHANGELOG = open('docs/changelog.rst', encoding='utf-8').read()\n\n# Relative links in the README must be converted to absolute URL's\n# so that they render correctly on PyPI.\nREADME = README.replace(\n    \"<CONTRIBUTING.rst>\",\n    \"<https://docs.getpelican.com/en/latest/contribute.html>\",\n)\n\ndescription = '\\n'.join([README, CHANGELOG])\n\nsetup(\n    name='pelican',\n    version=version,\n    url='https://getpelican.com/',\n    author='Justin Mayer',\n    author_email='authors@getpelican.com',\n    description=\"Static site generator supporting reStructuredText and \"\n                \"Markdown source content.\",\n    project_urls={\n        'Documentation': 'https://docs.getpelican.com/',\n        'Funding': 'https://donate.getpelican.com/',\n        'Source': 'https://github.com/getpelican/pelican',\n        'Tracker': 'https://github.com/getpelican/pelican/issues',\n    },\n    keywords='static web site generator SSG reStructuredText Markdown',\n    license='AGPLv3',\n    long_description=description,\n    long_description_content_type='text/x-rst',\n    packages=find_packages(),\n    include_package_data=True,  # includes all in MANIFEST.in if in package\n    # NOTE : This will collect any files that happen to be in the themes\n    # directory, even though they may not be checked into version control.\n    package_data={  # pelican/themes is not a package, so include manually\n        'pelican': [relpath(join(root, name), 'pelican')\n                    for root, _, names in walk(join('pelican', 'themes'))\n                    for name in names],\n    },\n    install_requires=requires,\n    extras_require={\n        'Markdown': ['markdown~=3.1.1']\n    },\n    entry_points=entry_points,\n    classifiers=[\n        'Development Status :: 5 - Production/Stable',\n        'Environment :: Console',\n        'Framework :: Pelican',\n        'License :: OSI Approved :: GNU Affero General Public License v3',\n        'Operating System :: OS Independent',\n        'Programming Language :: Python :: 3',\n        'Programming Language :: Python :: 3.7',\n        'Programming Language :: Python :: 3.8',\n        'Programming Language :: Python :: 3.9',\n        'Programming Language :: Python :: 3.10',\n        'Programming Language :: Python :: Implementation :: CPython',\n        'Topic :: Internet :: WWW/HTTP',\n        'Topic :: Software Development :: Libraries :: Python Modules',\n    ],\n    test_suite='pelican.tests',\n)\n", "path": "setup.py"}]}