From 0119fad6f88dcba288a6299fdba77936704bac5e Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Sun, 9 Feb 2025 20:14:02 +0100 Subject: [PATCH 1/3] Fix project metadata urls --- pyproject.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 603043f..5fcbf14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,9 +4,6 @@ description = "Unofficial high-level Python bindings for the Rust gamedig crate" authors = [{name = "Jonathan Ehwald", email = "github@ehwald.info"}] license = "MIT" readme = "README.md" -homepage = "https://github.com/DoctorJohn/python-gamedig" -repository = "https://github.com/DoctorJohn/python-gamedig" -documentation = "https://github.com/DoctorJohn/python-gamedig" requires-python = ">=3.8" classifiers = [ "Intended Audience :: Developers", @@ -25,6 +22,11 @@ classifiers = [ ] dynamic = ["version"] +[project.urls] +homepage = "https://github.com/DoctorJohn/python-gamedig" +repository = "https://github.com/DoctorJohn/python-gamedig" +documentation = "https://github.com/DoctorJohn/python-gamedig" + [build-system] requires = ["maturin>=1.7,<2.0"] build-backend = "maturin" From 39fe32c42db5befe00a3d0ce1c82d6e6d7635626 Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Sun, 9 Feb 2025 20:15:23 +0100 Subject: [PATCH 2/3] Fix metadata still indicated python 3.8 support --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5fcbf14..919870f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ description = "Unofficial high-level Python bindings for the Rust gamedig crate" authors = [{name = "Jonathan Ehwald", email = "github@ehwald.info"}] license = "MIT" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", From 7eef7f6da6b338ae92571e6011fa5d22920f919a Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Sun, 9 Feb 2025 20:18:09 +0100 Subject: [PATCH 3/3] Add pypi downloads badge --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b3c82d5..eab62f1 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,15 @@ [![Versions][versions-image]][versions-url] [![PyPI][pypi-image]][pypi-url] +[![Downloads][downloads-image]][downloads-url] [![License][license-image]][license-url] [versions-image]: https://img.shields.io/pypi/pyversions/gamedig [versions-url]: https://github.com/DoctorJohn/python-gamedig/blob/main/pyproject.toml [pypi-image]: https://img.shields.io/pypi/v/gamedig [pypi-url]: https://pypi.org/project/gamedig/ +[downloads-image]: https://img.shields.io/pypi/dm/gamedig +[downloads-url]: https://pypi.org/project/gamedig/ [license-image]: https://img.shields.io/pypi/l/gamedig [license-url]: https://github.com/DoctorJohn/python-gamedig/blob/main/LICENSE