From 8a852686581efa2452ed959cee679a9d686d2856 Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Mon, 11 Nov 2024 13:23:23 -0300 Subject: [PATCH 1/3] Use README.rst as project long description --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 934ec82f..41f7a60d 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ author="Zyte", author_email="opensource@zyte.com", description=("Spidermon is a framework to build monitors for Scrapy spiders."), - long_description=("Spidermon is a framework to build monitors for Scrapy spiders."), + long_description=open("README.rst", encoding="utf-8").read(), license="BSD", packages=find_packages(), package_data={"spidermon": ["VERSION"]}, From e2acca76073e8d2f6170ade02ff2106a52eca000 Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Mon, 11 Nov 2024 13:23:44 -0300 Subject: [PATCH 2/3] Add extra project links --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index 41f7a60d..a3a52b91 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,12 @@ name="spidermon", version="1.23.0", url="https://github.com/scrapinghub/spidermon", + project_urls={ + "Documentation": "https://spidermon.readthedocs.io/", + "Source": "https://github.com/scrapinghub/spidermon", + "Tracker": "https://github.com/scrapinghub/spidermon/issues", + "Release notes": "https://spidermon.readthedocs.io/en/latest/changelog.html", + }, author="Zyte", author_email="opensource@zyte.com", description=("Spidermon is a framework to build monitors for Scrapy spiders."), From 7b32e9c02d6226480d00d2beb55aa61859c14c4c Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Mon, 11 Nov 2024 17:18:30 -0300 Subject: [PATCH 3/3] Add long_description content type --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index a3a52b91..02499455 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ author_email="opensource@zyte.com", description=("Spidermon is a framework to build monitors for Scrapy spiders."), long_description=open("README.rst", encoding="utf-8").read(), + long_description_content_type="text/x-rst", license="BSD", packages=find_packages(), package_data={"spidermon": ["VERSION"]},