From 0e0301623b21970912ffc5441c60ce610fa28546 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 23 Aug 2025 08:52:43 +0200 Subject: [PATCH] fix(docs): Add running gyp via uv https://docs.astral.sh/uv/ --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38792e1d..8e326397 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,9 @@ Documents are available at [`./docs`](./docs). __gyp-next__ is [released](https://github.com/nodejs/gyp-next/releases) to the [__Python Packaging Index__](https://pypi.org/project/gyp-next) (PyPI) and can be installed with the command: * `python3 -m pip install gyp-next` -When used as a command line utility, __gyp-next__ can also be installed with [pipx](https://pypa.github.io/pipx): -* `pipx install gyp-next` +When used as a command line utility, __gyp-next__ can also be installed with [pipx](https://pypa.github.io/pipx) or [uv](https://docs.astral.sh/uv): +* `pipx install gyp-next ` # --or-- +* `uv tool install gyp-next` ``` Installing to a new venv 'gyp-next' installed package gyp-next 0.13.0, installed using Python 3.10.6 @@ -17,7 +18,8 @@ done! ✨ 🌟 ✨ ``` Or to run __gyp-next__ directly without installing it: -* `pipx run gyp-next --help` +* `pipx run gyp-next --help ` # --or-- +* `uvx --from=gyp-next gyp --help` ``` NOTE: running app 'gyp' from 'gyp-next' usage: usage: gyp [options ...] [build_file ...]