From 67b810cd7c3cafd3418bd535a5cadf375d2d60e6 Mon Sep 17 00:00:00 2001 From: S0AndS0 Date: Sun, 4 May 2025 08:24:06 -0700 Subject: [PATCH 1/2] Add instructions for Python virtual environment --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 9229f40..49de199 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,27 @@ Use setup.py to install vimdoc in the usual way. On most systems, this is: python setup.py build sudo python setup.py install +Or use `venv` manager + + uv venv + uv pip install setuptools + uv run setup.py config + uv run setup.py build + uv run setup.py install + +... And add wrapper script to `PATH` accessible directory; + +```bash +_wrapper="${HOME}/.local/bin/vimdoc"; + +tee "${_wrapper}" 1>/dev/null < Date: Sun, 4 May 2025 08:25:17 -0700 Subject: [PATCH 2/2] Ignore `uv` lock file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 45163bf..9e3ddae 100644 --- a/.gitignore +++ b/.gitignore @@ -108,6 +108,7 @@ venv/ ENV/ env.bak/ venv.bak/ +uv.lock # Spyder project settings .spyderproject