Skip to content

Commit

Permalink
pybamm-team#3049 specify cmake, fix casadi build-time requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Aug 31, 2023
1 parent c2e2734 commit 2cd36af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
[build-system]
# TODO: specify minimum version of setuptools otherwise scikits.odes, NumPy, and others
# will fail to install
requires = ["setuptools", "wheel", "casadi>=3.6.0"]
requires = [
"setuptools",
"wheel",
"casadi>=3.6.0; platform_system!='Windows'",
"cmake; platform_system=='Linux'",
]
build-backend = "setuptools.build_meta"

[project]
Expand Down

0 comments on commit 2cd36af

Please sign in to comment.