55 lines
1.3 KiB
TOML
55 lines
1.3 KiB
TOML
[project]
|
|
name = "fn_gen"
|
|
readme = "README.md"
|
|
description = "A library for usage with SCPI compliant function generators (for now the DG2000 series from rigol)"
|
|
requires-python = "==3.11.*"
|
|
version = "0.0.2"
|
|
dependencies = [
|
|
"easy-scpi==0.1.4",
|
|
"ifaddr==0.2.0",
|
|
"pip==23.2.1",
|
|
"psutil==5.9.7",
|
|
"PyVISA==1.14.1",
|
|
"PyVISA-py==0.7.1",
|
|
"setuptools==65.5.0",
|
|
"numpy>=1.26.3",
|
|
"fn-gen @ file:///${PROJECT_ROOT}/dist/fn_gen-0.0.2-py3-none-any.whl",
|
|
]
|
|
authors = [
|
|
{name = "Ali Nwegy", email = "ali.el-nwegy@tuhh.de"},
|
|
]
|
|
license = {text = "MIT"}
|
|
|
|
[tool.setuptools_scm]
|
|
|
|
[tool.pdm]
|
|
distribution = true
|
|
|
|
[tool.pdm.scripts]
|
|
edit = {shell = "$VISUAL src/fn_gen"}
|
|
uml = {shell = "pyreverse -o html -S --colorized -d uml src/fn_gen"}
|
|
doc = {shell = "pydoctor"}
|
|
sine = "examples/sine_signal.py"
|
|
square = "examples/square_signal.py"
|
|
ramp = "examples/ramp_signal.py"
|
|
discrete_sweep = "examples/discrete_sweep.py"
|
|
dc_signal = "examples/dc_signal.py"
|
|
stop_channel = "examples/stop_channels.py"
|
|
whoami = "examples/whoami.py"
|
|
|
|
|
|
[tool.pydoctor]
|
|
add-package = ["src/fn_gen"]
|
|
docformat = "numpy"
|
|
html-output = "docs"
|
|
intersphinx = ["https://docs.python.org/3/objects.inv", "docs/pyvisa/objects.inv"]
|
|
|
|
|
|
[tool.pdm.dev-dependencies]
|
|
dev = [
|
|
"bpython>=0.24",
|
|
"pylint>=3.0.3",
|
|
"pydoctor>=23.9.1",
|
|
"numpy>=1.26.4",
|
|
]
|