Skip to content
Tero Saarni edited this page May 30, 2023 · 7 revisions

Publish release

PyPI homepages

The pypi configuration should be stored in `~/.pypirc.

Upload release to testpypi

git clean -fdx
flit publish --repository testpypi

Packages can be deleted from test.pypi.org but NOT reuploaded with the same version. To delete, go to https://test.pypi.org/manage/projects/, click manage on package and delete. Update package version in src/certy/__init__.py and run rm -r dist.

When happy with the results, set the real version number and upload to pypi:

flit publish

For flit documentation for pyproject.toml see https://flit.pypa.io/en/stable/pyproject_toml.html.

Clone this wiki locally