From 8c1fddfc2c3ad470478ed2f00dd5f207d28125a1 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Mon, 27 Jul 2026 17:06:37 +0200 Subject: [PATCH] docs: python packaging -- link to linux docs --- docs/developer/python/packaging.md | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/docs/developer/python/packaging.md b/docs/developer/python/packaging.md index dca1816..9d4beb5 100644 --- a/docs/developer/python/packaging.md +++ b/docs/developer/python/packaging.md @@ -2,27 +2,6 @@ ## Gitea -To publish to Gitea you need a personal access token. - -Packages belong to an organization (e.g. `sls` or a user `labrec_b`), not a repo. - -You can then link a repo to use the packages. - -Configure your `~/pypirc`: - -``` -[distutils] -index-servers = gitea - -[gitea] -; repository = https://gitea.psi.ch/api/packages/sls/pypi -repository = https://gitea.psi.ch/api/packages/labrec_b/pypi -username = labrec_b -password = -``` - -then - -``` -python3 -m twine upload --repository gitea dist/* --verbose -``` +See: +- docs: https://linux.psi.ch/documentation/services/gitea/gitea-packages/#pypi-package-registry +- example: https://gitea.psi.ch/sls/OM