python: fetch the PyPI password using built-in macOS tools
- ID
97d29ef- date
2026-04-11 20:04:03+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
ef6c8a4- message
python: fetch the PyPI password using built-in macOS tools- changed files
1 file, 2 additions, 2 deletions
Changed files
python/deploy_to_pypi (948) → python/deploy_to_pypi (1004)
diff --git a/python/deploy_to_pypi b/python/deploy_to_pypi
index c47f6d0..f09242e 100755
--- a/python/deploy_to_pypi
+++ b/python/deploy_to_pypi
@@ -24,8 +24,8 @@ uv build
echo ""
-print_info "-> uv publish --username=__token__ --keyring-provider=subprocess"
-uv publish --username=__token__ --keyring-provider=subprocess
+print_info "-> uv publish --username=__token__ --password=$(…)"
+uv publish --username=__token__ --password=$(security find-generic-password -s 'https://upload.pypi.org/legacy/' -a __token__ -w)
echo ""