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 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]