From 845f006cd387d2ddd48f85af9f9ab2e8958b2efb Mon Sep 17 00:00:00 2001 From: Pim Nelissen Date: Fri, 13 Feb 2026 15:02:53 +0100 Subject: [PATCH] Update pyproject.toml and README.md to reflect new conditions. --- README.md | 8 ++++++++ pyproject.toml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index d3a79ea..3b78136 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,14 @@ With the virtual environment activated, run: pip install -e .[dev] ``` +## Running example landscape + +The example landscape can be generated using the command-line interface. Still in the virtual environment, run + +``` +pgrad --test --loglevel DEBUG +``` + ## Tests Tests can be run with `pytest` from the root directory of the repository. With the virtual environment activated, run: diff --git a/pyproject.toml b/pyproject.toml index 0f82ac2..07d3d1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,6 +7,7 @@ where = ["src"] [tool.setuptools.package-data] "pg_rad.data" = ["*.csv"] +"pg_rad.configs" = ["*.yml"] [project] name = "pg-rad" @@ -26,6 +27,9 @@ dependencies = [ license = "MIT" license-files = ["LICEN[CS]E*"] +[project.scripts] +pgrad = "pg_rad.main:main" + [project.urls] Homepage = "https://github.com/pim-n/pg-rad" Issues = "https://github.com/pim-n/pg-rad/issues"