Skip to content

Commit

Permalink
Move dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholls committed Sep 15, 2024
1 parent 0728922 commit cef3413
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 86 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ Additional dependencies can be installed using
```sh
# To add plotting dependencies
pip install openscm-calibration[plots]
# To add scmdata dependencies
pip install openscm-calibration[scmdata]
```

### For developers
Expand Down
76 changes: 38 additions & 38 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ authors = [
license = {text = "BSD-3-Clause"}
requires-python = ">=3.9"
dependencies = [
"pandas",
"attrs",
"pint",
# TODO: remove when addressing #26
"scmdata~=0.17",
# TODO: remove when addressing #26 ?
"more-itertools~=10.5",
# TODO: remove when addressing #26 ?
"ipython",
]
readme = "README.md"
classifiers = [
Expand All @@ -25,10 +18,16 @@ classifiers = [

[project.optional-dependencies]
plots = [
"matplotlib>=3.7.1",
"ipython~=8.18",
"matplotlib~=3.7",
"corner~=2.0",
"seaborn~=0.13",
]
scmdata = [
"pandas~=2.2",
"pint~=0.24",
"scmdata~=0.17",
]

[build-system]
requires = [
Expand Down
Loading

0 comments on commit cef3413

Please sign in to comment.