Skip to content

Commit

Permalink
editble dependency is back
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingru923 committed Apr 17, 2024
1 parent 2f2f47f commit 00c2bf6
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ documentation = "https://deltares.github.io/Ribasim/"
repository = "https://github.com/Deltares/Ribasim"

[tasks]
install-ribasim-python ={ path = "python/ribasim", editable = true }
install-ribasim-api ={ path = "python/ribasim_api", editable = true }
install-ribasim-testmodels ={ path = "python/ribasim_testmodels", editable = true }
# Installation
install-ribasim-python = "pip install --no-build-isolation --no-deps --disable-pip-version-check --editable python/ribasim"
install-ribasim-api = "pip install --no-build-isolation --no-deps --disable-pip-version-check --editable python/ribasim_api"
install-ribasim-testmodels = "pip install --no-build-isolation --no-deps --disable-pip-version-check --editable python/ribasim_testmodels"
install-python = { depends_on = [
"install-ribasim-python",
"install-ribasim-api",
"install-ribasim-testmodels",
] }
# install-ribasim-python = "pip install --no-build-isolation --no-deps --disable-pip-version-check --editable python/ribasim"
# install-ribasim-api = "pip install --no-build-isolation --no-deps --disable-pip-version-check --editable python/ribasim_api"
# install-ribasim-testmodels = "pip install --no-build-isolation --no-deps --disable-pip-version-check --editable python/ribasim_testmodels"
# install-python = { depends_on = [
# "install-ribasim-python",
# "install-ribasim-api",
# "install-ribasim-testmodels",
# ] }

# Tests
test-ribasim-python = "pytest --numprocesses=4 python/ribasim/tests"
test-ribasim-python-cov = "pytest --numprocesses=4 --cov=ribasim --cov-report=xml python/ribasim/tests"
Expand All @@ -32,7 +36,7 @@ test-ribasim-api = "pytest --basetemp=python/ribasim_api/tests/temp --junitxml=r
install-julia = "juliaup add 1.10.0 && juliaup default 1.10.0"
install-pre-commit = "pre-commit install"
install-ci = { depends_on = [
"install-python",
# "install-python",
"install-julia",
"update-registry-julia",

Expand Down

0 comments on commit 00c2bf6

Please sign in to comment.