content: [project]
  name = "modflow6"
  channels = ["conda-forge"]
  platforms = ["win-64", "linux-64", "linux-aarch64", "osx-arm64", "osx-64"]
  version = "6.7.0.dev3"
  
  [dependencies]
  appdirs = "*"
  boltons = "*"
  cffconvert = "*"
  codespell = "*"
  filelock = "*"
  flaky = "*"
  fortran-language-server = "*"
  fprettify = "*"
  geopandas = "*"
  gitpython = "*"
  jinja2 = ">=3.1.5,<4"
  jupytext = "*"
  matplotlib = "*"
  meson = ">=1.3.1"
  modflow-devtools = "==1.7.0"
  networkx = "*"
  ninja = "*"
  numpy = "<2.0.0"    # modflowapi has a resriction on the numpy version
  pandas = "*"
  pip = "*"
  pooch = "*"
  pydotplus = "*"
  pyshp = "*"
  pytest = "!=8.1.0"
  pytest-benchmark = "*"
  pytest-dotenv = "*"
  pytest-order = "*"
  pytest-xdist = "*"
  python = "3.10.*"
  rasterio = "*"
  rasterstats = "*"
  requests = "*"
  ruff = "*"
  scipy = "*"
  shapely = "*"
  syrupy = "<5"
  test-drive = "*"
  tomli = ">=2.2.1,<3"
  tomli-w = ">=1.2.0,<2"
  xarray = "*"
  xmipy = "*"
  
  [feature.rtd.dependencies]
  numpy = "*"
  bmipy = "*"
  sphinx = ">=4"
  ipython = "*"
  ipykernel = "*"
  myst-parser = "*"
  sphinx_rtd_theme = ">=1"
  sphinxcontrib-mermaid = "*"
  pytest = "*"
  filelock = "*"
  
  [feature.rtd.pypi-dependencies]
  # These dependencies are added as pypi dependencies because an osx-arm64 version of them doesn't exist on conda
  sphinx_markdown_tables = "*"
  nbsphinx = "*"
  nbsphinx_link = "*"
  rtds_action = "*"
  
  [environments]
  rtd = { features = ["rtd"], solve-group = "default" }
  
  [tasks]
  # install
  install-flopy = "pip install --disable-pip-version-check git+https://github.com/modflowpy/flopy.git"
  install-pymake = "pip install --disable-pip-version-check git+https://github.com/modflowpy/pymake.git"
  install-modflowapi = "pip install --disable-pip-version-check git+https://github.com/MODFLOW-ORG/modflowapi.git"
  install = { depends-on = [
      "install-flopy",
      "install-pymake",
      "install-modflowapi",
  ] }
  
  # check format
  check-format = "python .github/common/check_format.py"
  check-vfproj = "python .github/common/check_vfproj.py"
  check-spelling = "codespell"
  check-python-lint = { cmd = "ruff check ." }
  check-python-format = { cmd = "pixi run fix-python-format --check" }
  
  # fix format
  fix-style = { cmd = "pixi run check-format --write-changes; pixi run check-spelling --write-changes" }
  fix-python-format = { cmd = "ruff format ." }
  fix-python-style = { cmd = "pixi run check-python-lint --fix; pixi run fix-python-format" }
  
  # meson build/test for mf6 and zbud6
  builddir = "echo _builddir"
  setup = { cmd = "meson setup --prefix=$(pwd) --libdir=bin --bindir=bin", env = { PKG_CONFIG_PATH = "$CONDA_PREFIX/lib/pkgconfig" } }
  build = "meson install -C"
  test = "meson test --verbose --no-rebuild -C"
  
  # meson build mf5to6
  setup-mf5to6 = { cmd = "meson setup --prefix=$PIXI_PROJECT_ROOT", cwd = "utils/mf5to6"}
  build-mf5to6 = { cmd = "meson install -C", cwd = "utils/mf5to6"}
  
  # pytest tasks
  get-exes = { cmd = "pytest -v --durations 0 get_exes.py", cwd = "autotest" }
  autotest = { cmd = "pytest -v -n auto --durations 0 --keep-failed .failed", cwd = "autotest" }
  
  # common developer tasks
  update-fortran-definitions = { cmd = "cat dfns.txt | xargs python scripts/dfn2f90.py", cwd = "utils/idmloader" }
  update-flopy = "python -m flopy.mf6.utils.generate_classes --dfnpath doc/mf6io/mf6ivar/dfn"
  build-makefiles = { cmd = "python build_makefiles.py", cwd = "distribution" }
  run-mf6ivar = { cmd = "python mf6ivar.py", cwd = "doc/mf6io/mf6ivar" }
  prepare-pull-request = {depends-on = ["fix-style", "fix-python-style", "build-makefiles", "run-mf6ivar", "update-fortran-definitions"]}
  
  # dist/docs
  benchmark = { cmd = "python benchmark.py", cwd = "distribution" }
  build-docs = { cmd = "python build_docs.py", cwd = "distribution" }
  build-dist = { cmd = "python build_dist.py", cwd = "distribution" }
  check-dist = { cmd = "pytest -v -s check_dist.py", cwd = "distribution" }
  test-dist-scripts = { cmd = "pytest -v --durations 0", cwd = "distribution" }
  update-version = { cmd = "python update_version.py", cwd = "distribution" }
  collect-deprecations = { cmd = "python deprecations.py", cwd = "doc/mf6io/mf6ivar" }
  check-citations = "cffconvert --validate -i CITATION.cff"
  make-release-notes = { cmd = "python mk_releasenotes.py", cwd = "doc/ReleaseNotes" }
  
  [feature.rtd.tasks]
  sphinx = { cmd = "make html", cwd = ".build_rtd_docs" }
  
  # os-specific tasks
  [target.linux-64.tasks]
  builddir = "echo _builddir_linux-64"
  
  [target.linux-aarch64.tasks]
  builddir = "echo _builddir_linux-aarch64"
  
  [target.osx-64.tasks]
  builddir = "echo _builddir_osx-64"
  
  [target.osx-arm64.tasks]
  builddir = "echo _builddir_osx-arm64"
  
  [target.win-64.tasks]
  builddir = "echo _builddir_win-64"
  
  