[build-system]
requires = ["setuptools>=66", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"

[project]
name = "palmmeteo"
dynamic = ["version", "dependencies"]
authors = [
  { name="Pavel Krc", email="krc@cs.cas.cz" },
]
description = "PALM-meteo: processor of meteorological input data for the PALM model system."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
    "Programming Language :: Python :: 3",
    "Operating System :: POSIX :: Linux",
    "Operating System :: Microsoft :: Windows",
    "Development Status :: 4 - Beta",
]
license = {text = "GPL-3.0-or-later"}

[project.scripts]
pmeteo = "palmmeteo:main"

[project.urls]
Homepage = "https://github.com/PALM-tools/palmmeteo"
Issues = "https://github.com/PALM-tools/palmmeteo/issues"

[project.optional-dependencies]
vinterp_metpy = ["metpy>=1.6"]
geostrophic_wind = ["metpy>=1.6"]
aladin = ["cfgrib>=0.9.10"]

[tool.setuptools]
packages = ["palmmeteo", "palmmeteo_stdplugins"]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}

[tool.setuptools_scm]
write_to = "palmmeteo/_version.py"
