content: [build-system]
  requires = ["setuptools", "setuptools-scm"]
  build-backend = "setuptools.build_meta"
  
  [project]
  name = "opendrift"
  requires-python = ">=3.9"
  version = "1.14.3"
  description = "OpenDrift - a framework for ocean trajectory modeling"
  authors = [
    { name = "Knut-Frode Dagestad", email = "knutfd@met.no" },
    { name = "Gaute Hope", email = "gauteh@met.no" }]
  dependencies = [
    "matplotlib>=3.5",
    "numpy>=1.23",
    "scipy>=1.9",
    "netCDF4>=1.6.1",
    "pyproj>=2.3",
    "xarray>=2022.6.0",
    "geopandas>=0.14",
    "cmocean>=2.0",
    "geojson>=2.5",
    "nc-time-axis>=1.4",
    "coloredlogs>=15.0",
    "Cartopy>=0.20",
    "pynucos>=3",
    "utm>=0.7",
    "roaring-landmask>=0.7",
    "requests>=2.28",
    "pykdtree>=1.3",
    "xhistogram>=0.3",
    "adios_db>1.2",
    "copernicusmarine>=2.0"
    ]
  
  [project.scripts]
  hodograph = "opendrift.scripts.hodograph:main"
  readerinfo = "opendrift.scripts.readerinfo:main"
  opendrift_plot = "opendrift.scripts.opendrift_plot:main"
  opendrift_animate = "opendrift.scripts.opendrift_animate:main"
  opendrift_gui = "opendrift.scripts.opendrift_gui:main"
  # mp4_to_gif = "opendrift.scripts.opendrift_plot:main"
  
  [project.optional-dependencies]
  grib = ["cfgrib", "pygrib"]
  
  [tool.pytest.ini_options]
  minversion = "6.0"
  addopts = "--benchmark-disable --doctest-modules"
  norecursedirs = [ "wps", "benchmarks", "test_data" ]
  testpaths = [
    "tests",
    "opendrift",
  ]
  markers = [
    "slow:mark tests as slow",
    "veryslow: marks tests as very slow"
  ]
  
  [tool.yapf]
  based_on_style = 'google'
  allow_split_before_dict_value = false
  
  [tool.pylint.master]
  extension-pkg-whitelist="netCDF4,numpy,scipy,roaring_landmask"
  
  [tool.pylint.messages_control]
  disable = "all"
  enable = "F,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,unused-wildcard-import,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode,E0001,E0011,E0012,E0100,E0101,E0102,E0103,E0104,E0105,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0301,E0302,E0303,E0401,E0402,E0601,E0602,E0603,E0604,E0611,E0632,E0633,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1102,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1137,E1138,E1139,E1200,E1201,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1310,E1700,E1701"
  