From 16c99c09eab858a77d248813fd3e4a1a39576aa3 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 15 May 2025 20:57:00 +0100 Subject: [PATCH] Add pipx and uv instructions to Python wrapper readme --- python/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python/README.md b/python/README.md index d4afaa36..4cbf28e3 100644 --- a/python/README.md +++ b/python/README.md @@ -6,13 +6,22 @@ An **experimental** Python wrapper around the libloot Rust implementation, built To build, first set up a Python virtual environment and install [maturin](https://github.com/PyO3/maturin): +``` +# pipx +pipx install maturin +# uv +uv tool install maturin +``` + +or using pip on Windows: + ```powershell python -m venv .venv .\.venv\Scripts\activate pip install maturin ``` -or in a POSIX shell: +or using pip on Linux: ```sh python -m venv .venv