# HG changeset patch # User Laman # Date 2024-11-26 22:16:11 # Node ID c0ac7e5989aa4570d2f33fe055cb11efd099b54a # Parent f1db051d658e9aba396cf7f1b5edc2564357c144 added build-requirements.txt, updated readme diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -8,7 +8,13 @@ 1. Create a directory `data`, with a sub 2. Run `PYTHONPATH=src/ python3 train.py`. It will create a `models.json.gz` file. -3. You can now use: +3. Build and install the package: +``` +python3 -m build +pip install dist/languedoc-...-py3-none-any.whl +``` + +4. You can now use: ```python import languedoc diff --git a/build-requirements.txt b/build-requirements.txt new file mode 100644 --- /dev/null +++ b/build-requirements.txt @@ -0,0 +1,1 @@ +build