From bf2706ec806ca769b8dca42f35e48635a542167e Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Sun, 12 Jul 2026 12:58:38 +0200 Subject: [PATCH] created environemtn similar to bookworm versions of used python libraries --- pyproject-bookworm.toml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pyproject-bookworm.toml diff --git a/pyproject-bookworm.toml b/pyproject-bookworm.toml new file mode 100644 index 0000000..1a57d51 --- /dev/null +++ b/pyproject-bookworm.toml @@ -0,0 +1,37 @@ +[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"] \ No newline at end of file