From 3d164132abe7ec429c63bf4ac10c1fa2646357d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Healy?= Date: Sat, 25 Apr 2026 17:54:12 +0100 Subject: [PATCH] Add publish script for PyPI --- publish-pypi.sh | 7 +++++++ pyproject.toml | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100755 publish-pypi.sh diff --git a/publish-pypi.sh b/publish-pypi.sh new file mode 100755 index 0000000..eee80ae --- /dev/null +++ b/publish-pypi.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +MATURIN_PYPI_TOKEN="$(pass show pypi-token | head -1)" +export MATURIN_PYPI_TOKEN + +maturin publish diff --git a/pyproject.toml b/pyproject.toml index 10963a5..82c2f50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,9 @@ description = "Opinionated Rust framework for queue-driven microservices" license = { text = "MIT" } requires-python = ">=3.8" readme = "README.md" +authors = [ + { name = "Seán Healy", email = "sean@seanhealy.ie" } +] [tool.maturin] # Build with Python bindings enabled. @@ -17,3 +20,7 @@ features = ["python"] module-name = "slingshot_microservice._native" # Include the pure-Python package (typing stubs, __init__.py) in the wheel. python-packages = ["slingshot_microservice"] + +[project.urls] +"Source Code" = "https://codeberg.org/seanhly/slingshot-microservice" +"Homepage" = "https://www.seanhealy.ie/projects/slingshot-microservice.html"