Skip to content

Commit 84ec90c

Browse files
authored
Added more URLs in project metadata (appears on PyPI sidebar) (#2628)
1 parent e57a738 commit 84ec90c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

setup.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,16 @@ def convert_optional_data_files(files):
20202020
long_description_content_type="text/markdown",
20212021
author="Mark Hammond (et al)",
20222022
author_email="[email protected]",
2023-
url="https://github.com/mhammond/pywin32",
2023+
project_urls={
2024+
# https://docs.pypi.org/project_metadata/#general-url
2025+
"Homepage": "https://github.com/mhammond/pywin32",
2026+
"Changes": "https://github.com/mhammond/pywin32/blob/main/CHANGES.txt",
2027+
"Docs": "https://mhammond.github.io/pywin32/",
2028+
"Bugs": "https://github.com/mhammond/pywin32/issues",
2029+
# Arbitrary URLs (icons still recognized)
2030+
"Support Requests": "https://github.com/mhammond/pywin32/discussions",
2031+
"Mailing List": "https://mail.python.org/mailman/listinfo/python-win32",
2032+
},
20242033
license="PSF",
20252034
classifiers=classifiers,
20262035
cmdclass=cmdclass,

0 commit comments

Comments
 (0)