[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "python3-damaris"
version = "0.22"
requires-python = ">= 3.11"
description = "Python 3 frontend for DAMARIS (DArmstadt MAgnetic Resonance Instrument Software)"
license = {text = "GPL-2.0"}
keywords = ["NMR", "data-processing"]
readme = {file = "README", content-type = "text/plain"}
dependencies = [
    "scipy>=1.7",
    "numpy>=1.21,<2.0",
    "tables>=3.7",
    "matplotlib>=3.5,<3.11",
    "pyxdg",
    # PyGObject must come from system packages:
    #   apt-get install python3-gi gir1.2-gtk-3.0 gir1.2-gtksource-3.0
]
authors = [
  {name = "Achim Gädke"},
  {name = "Christopher Schmitt"},
  {name = "Christian Tacke"},
  {name = "Joachim Beerwerth"},
  {name = "Markus Rosenstihl", email = "markus.rosenstihl@pkm.tu-darmstadt.de"}
]

[project.scripts]
DAMARIS3 = "damaris.__main__:main"

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
"damaris.gui" = ["DAMARIS3.png", "DAMARIS3.ico", "python.xml", "damaris3.glade"]