This repo allows me to play with the newer ways to package and distribute a python package. Maybe this repo will integrate and replace the repository pylibcklb.
Basic requirement is a python installation. In my case Python 3.10. From there I installed PipX (1)
with py -3 -m pip install --user pipx
and adapt my PATH with py -3 -m pipx ensurepath
. After that I installed
Poetry
with py -3 -m pipx install poetry
.
To create the basic structure of this repository I used poetry (1) as I will use poetry also to replace pipenv that I normally use.
poetry add -D pytest
poetry add -D coverage[toml]
poetry install --all-extras
poetry run pytest
poetry run coverage run -m pytest && poetry run coverage combine && poetry run coverage report -m
poetry run coverage xml
poetry run coverage html
(1) pipx