2023-06-27 19:52:59 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
2023-07-03 18:25:05 +00:00
|
|
|
[tool.hatch.metadata]
|
|
|
|
allow-direct-references = true
|
|
|
|
|
2023-06-27 19:52:59 +00:00
|
|
|
[project]
|
2023-06-28 12:01:55 +00:00
|
|
|
name = "nqrduck-spectrometer"
|
2023-07-03 18:25:28 +00:00
|
|
|
version = "0.0.7"
|
2023-06-27 19:52:59 +00:00
|
|
|
authors = [
|
|
|
|
{ name="Julia Pfitzer", email="git@jupfi.me" },
|
|
|
|
]
|
|
|
|
|
|
|
|
description = "A module for the NQRduck program (a simple python script™) to control different NQR/NMR spectrometers."
|
|
|
|
readme = "README.md"
|
|
|
|
license = { file="LICENSE" }
|
|
|
|
requires-python = ">=3.8"
|
|
|
|
|
|
|
|
classifiers = [
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
]
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
"matplotlib",
|
2023-07-08 12:38:10 +00:00
|
|
|
"pyqt6",
|
2023-06-27 19:52:59 +00:00
|
|
|
"NQRduck",
|
2023-07-22 19:08:19 +00:00
|
|
|
"sympy",
|
|
|
|
"numpy",
|
|
|
|
"scipy",
|
2023-06-27 19:52:59 +00:00
|
|
|
]
|
|
|
|
|
2024-04-01 08:55:46 +00:00
|
|
|
[project.optional-dependencies]
|
|
|
|
dev = [
|
|
|
|
"black",
|
|
|
|
"pydocstyle",
|
|
|
|
"pyupgrade",
|
|
|
|
"ruff",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
exclude = [
|
|
|
|
"widget.py",
|
|
|
|
"base_spectrometer_widget.py",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
extend-select = [
|
|
|
|
"UP", # pyupgrade
|
|
|
|
"D", # pydocstyle
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
|
|
"__init__.py" = ["F401"]
|
|
|
|
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
|
|
convention = "google"
|
|
|
|
|
2023-07-03 18:25:05 +00:00
|
|
|
[project.entry-points."nqrduck"]
|
|
|
|
"nqrduck-spectrometer" = "nqrduck_spectrometer.spectrometer:Spectrometer"
|