From c838f036ff96ba99d9c4bcfe721f0355e93f36fa Mon Sep 17 00:00:00 2001 From: Johannes Keller Date: Thu, 21 May 2026 17:54:50 +0200 Subject: [PATCH 1/2] Add pyproject.toml --- pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..026fe41 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,13 @@ +[project] +name = "eCLM_namelist-generator" +version = "0.1.0" +description = "Scripts related to eCLM namelist files" +readme = "README.md" +requires-python = ">=3.11" +dependencies = [ + "f90nml>=1.4", + "lxml>=4.9", +] + +[tool.setuptools] +packages = [] From 451635b9faf2712c6524594648f06fa11e120a11 Mon Sep 17 00:00:00 2001 From: Johannes Keller Date: Thu, 21 May 2026 17:58:50 +0200 Subject: [PATCH 2/2] docs: Python installation documentation --- docs/users_guide/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/users_guide/README.md b/docs/users_guide/README.md index 5a30838..089b5f9 100644 --- a/docs/users_guide/README.md +++ b/docs/users_guide/README.md @@ -19,3 +19,12 @@ generation and manipulation. - [create_ensemble_namelists.py](create_ensemble_namelists.md): Creates per-ensemble-member namelist files for eCLM-PDAF Data Assimilation experiments. + +## Installation + +From the repository root install the dependencies using the provided +`pyproject.toml`: + +```bash +pip install . +```