content: [build-system]
  requires = ["setuptools", "setuptools-scm"]
  build-backend = "setuptools.build_meta"
  
  [project]
  name = "miles-credit"
  authors = [{name = "NCAR Machine Integration and Learning for Earth Systems (MILES)", email = "miles@ucar.edu"}]
  readme = "README.md"
  license = "Apache-2.0"
  license-files = ["LICENSE"]
  dynamic = ["version"]
  requires-python = ">=3.10"
  dependencies = [
      "numpy",
      "pandas",
      "matplotlib",
      "cartopy",
      "scikit-learn",
      "pyarrow",
      "pytest",
      "pysteps",
      "xarray",
      "netcdf4",
      "h5netcdf",
      "torch",
      "torchvision",
      "pyyaml",
      "cartopy",
      "dask",
      "distributed",
      "dask-jobqueue",
      "zarr",
      "einops",
      "echo-opt",
      "bridgescaler",
      "segmentation-models-pytorch",
      "haversine",
      "pvlib",
      "torch-harmonics",
      "torch_geometric",
      "pre-commit",
      "ruff",
      "sphinx",
      "sphinx-autoapi",
      "myst_parser",
      "sphinx-book-theme",
      "fsspec",
      "gcsfs",
      "miles-guess",
      "keras",
      "metpy",
      "setuptools_scm",
      "setuptools"
     ]
  
  [tool.setuptools]
  packages = ["credit.applications", "credit", "credit.models", "credit.metadata", "credit.datasets", "credit.trainers"]
  
  [tool.setuptools_scm]
  version_file = "credit/_version.py"
  
  [project.scripts]
  credit_train = "credit.applications.train:main_cli"
  credit_rollout_realtime = "credit.applications.rollout_realtime:main_cli"
  credit_gfs_init = "credit.applications.gfs_init:main"
  credit_gefs_init = "credit.applications.gefs_init:main"
  credit_rollout_to_netcdf = "credit.applications.rollout_to_netcdf:main"
  credit_rollout_metrics = "credit.applications.rollout_metrics:main"
  credit_calc_global_solar = "credit.applications.calc_global_solar:main"
  
  [tool.ruff]
  target-version = "py311"
  src = ["credit", "applications", "tests"]
  line-length = 120
  
  [tool.ruff.lint.per-file-ignores]
  "*.ipynb" = ["E402"]
  
  [tool.ruff.lint.pydocstyle]
  convention = "google"
  