A sample Python module.
Following the Python Packaging Tutorial
EXCEPT: switch to using poetry
instead of hatchling
Added features:
- module-scope "constant"
- command-line script/entrypoint
get_rate
- Requires
build
poetry
poetry build
python3 -m pip install -U ./dist/foobar-0.0.X-py3-none-any.whl
- Lock requirements:
poetry lock
➡ generatespoetry.lock
file