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