Skip to content

Commit bfcd5d1

Browse files
authored
Add pyproject.toml and installation documentation (#8)
* Add pyproject.toml * docs: Python installation documentation
1 parent a26e0dc commit bfcd5d1

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

docs/users_guide/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,12 @@ generation and manipulation.
1919
- [create_ensemble_namelists.py](create_ensemble_namelists.md):
2020
Creates per-ensemble-member namelist files for eCLM-PDAF Data
2121
Assimilation experiments.
22+
23+
## Installation
24+
25+
From the repository root install the dependencies using the provided
26+
`pyproject.toml`:
27+
28+
```bash
29+
pip install .
30+
```

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[project]
2+
name = "eCLM_namelist-generator"
3+
version = "0.1.0"
4+
description = "Scripts related to eCLM namelist files"
5+
readme = "README.md"
6+
requires-python = ">=3.11"
7+
dependencies = [
8+
"f90nml>=1.4",
9+
"lxml>=4.9",
10+
]
11+
12+
[tool.setuptools]
13+
packages = []

0 commit comments

Comments
 (0)