Publishing to PyPI
First time only:
- Create an account at https://pypi.org
- Create an API token under Account Settings → API tokens
- Install twine: pip install twine
- Save your token in ~/.pypirc:
[pypi]
username = __token__
password = pypi-YOUR-TOKEN-HERE
Every release:
- Run gradle build_all
- Build the wheel and tarball:
cd dist/pypi && python -m build - Upload:
twine upload dist/*
The GitHub Release upload (step 2 for AUR) is the only manual step that ties
the two together — the AUR PKGBUILD’s source URL points to that release asset
for its MD5 check.