Public Access
- signature-only type hints for ADC_Result, MeasurementResult, Accumulation, and the Drawable base class (x: ndarray | list, y: list) - get_ydata now takes channel: int = 0 across the hierarchy (Drawable, Accumulation, MeasurementResult, Error_Result), fixing the LSP violation flagged by pyrefly - widen _XArray alias to ndarray | list: internal copy constructors pass self.x[:] which is that union - add hinted files to pyrefly project-includes pyrefly errors in the covered files drop from 102 to 74; the rest is PyTables stub noise and pre-existing latent bugs left for separate fixes. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
73 lines
2.0 KiB
TOML
73 lines
2.0 KiB
TOML
[build-system]
|
|
requires = [
|
|
"setuptools>=61.0", # provides the "setuptools.build_meta" backend
|
|
"wheel" # needed for the wheel building step
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
requires-python = ">= 3.11"
|
|
name = "python3-damaris"
|
|
dynamic = ["version"]
|
|
description = "Python version 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>=0.14.0",
|
|
"numpy>=1.8.2,<2.0",
|
|
"tables >= 3.1.1",
|
|
"matplotlib >= 1.4.1, <= 3.6",
|
|
"pyxdg",
|
|
"PyGObject >= 3.14.0, <= 3.51.0",
|
|
"pyserial>=3.5",
|
|
"sphinx>=9.0.4",
|
|
"sphinxcontrib-bibtex>=2.7.0",
|
|
"sphinx-rtd-theme>=3.1.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"}
|
|
]
|
|
maintainers = [
|
|
{name = "Markus Rosenstihl", email = "markus.rosenstihl@pkm.tu-darmstadt.de"}
|
|
]
|
|
|
|
[project.scripts]
|
|
DAMARIS3 = "damaris.__main__:main"
|
|
|
|
[dependency-groups]
|
|
dev = ["pyrefly"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"damaris.gui" = ["DAMARIS3.png", "DAMARIS3.ico", "python.xml", "damaris3.glade"]
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "damaris.__version__"}
|
|
|
|
[tool.setuptools.data-files]
|
|
"share/python3-damaris/images" = ["src/damaris/gui/DAMARIS3.png", "src/damaris/gui/DAMARIS3.ico"]
|
|
|
|
[tool.pyrefly]
|
|
project-includes = [
|
|
"src/damaris/experiments/Experiment.py",
|
|
"src/damaris/experiments/dac.py",
|
|
"src/damaris/data/ADC_Result.py",
|
|
"src/damaris/data/MeasurementResult.py",
|
|
"src/damaris/data/Accumulation.py",
|
|
]
|
|
search-path = ["src"]
|
|
python-version = "3.11"
|
|
python-platform = "linux"
|
|
#"share/python3-damaris/doc" = ["doc/index.html"]
|
|
#"share/python3-damaris/doc/reference-html" = ["doc/reference-html/*"]
|
|
#"share/python3-damaris/doc/tutorial-html" = ["doc/tutorial-html/*"]
|
|
|
|
|