Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 815 Bytes

RELEASE.md

File metadata and controls

37 lines (33 loc) · 815 Bytes

Release Procedure

This guide aims to help how to release a new version of the package.

Tests

To execute all test from a folder use:

python -m unitest discover tests/

Setup

Ensure you have general installed build

python3 -m pip install --upgrade build

And twine to publish a new version

python3 -m pip install --upgrade twine

Create a .pypirc file in your home with account credentials

[testpypi]
username = __token__
password = <pypi-token>

Password hold your generated token from account page.

Eventually edit pyproject.toml file with a new version

Build and publish

To build the package use:

python3 -m build

Then publish the package:

python3 -m twine upload --repository testpypi dist/*