This guide aims to help how to release a new version of the package.
To execute all test from a folder use:
python -m unitest discover tests/
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
To build the package use:
python3 -m build
Then publish the package:
python3 -m twine upload --repository testpypi dist/*