From 9c5d52801cfd6844c5f165f53315671658b47d0f Mon Sep 17 00:00:00 2001 From: senthil manickavasagam Date: Tue, 13 Oct 2026 14:16:25 -0400 Subject: [PATCH 1/2] Added comments. Can remove the line for uv.lock when versions mismatch --- .gitignore | 1 + README.md | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 16f919da..682d93a7 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ __pycache__ *.pdf *.dot *.mat +uv.lock \ No newline at end of file diff --git a/README.md b/README.md index d0ff4260..0180db96 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,13 @@ pip install pgraph-python This needs Python 3.9 or later. The dependencies, NumPy, Matplotlib and Spatial Maths, are installed with it. +### Using UV +If you have ``uv`` +``` +uv sync +``` +The above will install all the required packages. + ## Examples ### A small example: routing through towns in Queensland From 0a0d423f0bfdaea9cc28801a656d3635905949c3 Mon Sep 17 00:00:00 2001 From: senthil manickavasagam Date: Tue, 13 Oct 2026 14:29:22 -0400 Subject: [PATCH 2/2] missing ipykernel in dependencies --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f67362f6..bf570061 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,12 @@ keywords = [ "optimal path", ] -dependencies = ["spatialmath-python", "numpy>=2.0", "matplotlib"] +dependencies = [ + "spatialmath-python", + "numpy>=2.0", + "matplotlib", + "ipykernel" +] [project.urls]