Skip to content

Commit

Permalink
updated pyproject toml to support legacy and anemoi. Use pip install …
Browse files Browse the repository at this point in the history
….[legacy] or .[anemoi]
  • Loading branch information
einrone committed Jan 9, 2025
1 parent c718709 commit eb90cef
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,28 @@ classifiers = [
]
dependencies = [
"anemoi-datasets",
"anemoi-models",
"anemoi-training",
"argparse",
"gridpp",
"numpy",
"pytest",
"pytorch-lightning>=2.1",
"torch",
"torchinfo",
"tqdm",
"verif",
"zarr<=2.17",
]

# legacy version supports this branch from MetNo fork of ECMWF anemoi-models
# contains some optimizations and fixes
optional-dependencies.legacy = [
"anemoi-models @ git+https://github.com/metno/anemoi-models.git@feature/fix-memory-inference-chunking",
]

optional-dependencies.anemoi = [
"anemoi-models",
"anemoi-training",
]
optional-dependencies.tests = [
"black",
"coverage",
Expand Down

0 comments on commit eb90cef

Please sign in to comment.