Whist rules implementation
You need Poetry for development.
# Create venv and install deps
poetry install
The Python virtual environment will be created in the .venv
directory.
# Run tests (in venv)
python -m pytest # or pylint...
# OR
poetry run python -m pytest
Generates sdist
and bdist_wheel
.
poetry build
You need the environment variable POETRY_PYPI_TOKEN_PYPI
filled with a PyPI token.
poetry build
poetry publish
# OR
poetry publish --build