From 4a6e228eae11409fae99645095a5035676efcf42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Pu=C4=8Dil?= Date: Sun, 12 Feb 2023 10:11:59 +0100 Subject: [PATCH] setup.cfg: add `metadata.project_urls` (#71) * setup.cfg: add `metadata.project_urls` Fix https://github.com/kaitai-io/kaitai_struct_python_runtime/issues/69 According to a project example https://pypi.org/project/PyScaffold/4.3/ + https://github.com/pyscaffold/pyscaffold/blob/v4.3/setup.cfg#L7-L15, the "Homepage" link pulled from `metadata.url` apparently stays even if I add `project_urls`, so all links at PyPI resulting from this change should be (I'm not sure about their order, but again links on https://pypi.org/project/PyScaffold/4.3/ seem to be sorted alphabetically except the implicit "Homepage" link at the beginning): - [Homepage](https://kaitai.io) - [Gitter](https://gitter.im/kaitai_struct/Lobby) - [Source](https://github.com/kaitai-io/kaitai_struct_python_runtime) - [Tracker](https://github.com/kaitai-io/kaitai_struct_python_runtime/issues) - [Twitter](https://twitter.com/kaitai_io) Currently (see https://pypi.org/project/kaitaistruct/0.10/) the project links are just: - [Homepage](https://kaitai.io) * setup.cfg: remove Twitter link See https://github.com/kaitai-io/kaitai_struct_python_runtime/pull/71#pullrequestreview-1111339994 * setup.cfg: add Documentation link to doc.kaitai.io --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index e578765..ecaf5ca 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,11 @@ version = attr: kaitaistruct.__version__ author = Kaitai Project author_email = greycat@kaitai.io url = https://kaitai.io +project_urls = + Documentation = https://doc.kaitai.io/ + Source = https://github.com/kaitai-io/kaitai_struct_python_runtime + Tracker = https://github.com/kaitai-io/kaitai_struct_python_runtime/issues + Gitter = https://gitter.im/kaitai_struct/Lobby description = Kaitai Struct declarative parser generator for binary data: runtime library for Python long_description = file: README.md long_description_content_type = text/markdown