- python >= 3.9
- poetry
This command will install all deps specified in pyproject.toml
and make the scripts specified in pyproject.toml
available in your python environment.
poetry install
poe test
poe check_mypy
This will run the same checks as those that are run during CI checks - meaning it will raise any issues found, but not fix them.
poe check_format
This will actually modify source files to fix any issues identified
poe format
This will produce a tar.gz
and a whl
file in the ./dist
directory.
poetry build
Either of these files can be installed locally for testing. For example:
% poetry build
Building foundry-compute-modules (0.0.0)
- Building sdist
- Built foundry_compute_modules-0.0.0.tar.gz
- Building wheel
- Built foundry_compute_modules-0.0.0-py3-none-any.whl
% pip install ./dist/foundry_compute_modules-0.0.0.tar.gz