-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
95 lines (82 loc) · 2.16 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[project]
name = "pyleco"
authors = [
{ name="PyLECO Developers" },
]
dynamic = ["version"]
description = "Python reference implementation of the Laboratory Experiment COntrol (LECO) protocol"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: System :: Networking",
]
requires-python = ">=3.8"
dependencies = [
"pyzmq >= 22.3.0",
"openrpc >= 8.1.0; python_version >= '3.9' and python_version < '3.13'",
"uuid6 >= 2024.1.12",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"sphinx",
"sphinx_rtd_theme",
]
openrpc = [
"openrpc >= 8.1.0; python_version >= '3.9'",
]
[project.urls]
"Homepage" = "https://github.com/pymeasure/pyleco"
"Bug Tracker" = "https://github.com/pymeasure/pyleco/issues"
[project.scripts]
coordinator = "pyleco.coordinators.coordinator:main"
proxy_server = "pyleco.coordinators.proxy_server:main"
starter = "pyleco.management.starter:main"
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=8.1.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# write_to = "pyleco/_version.py"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.ruff]
select = ["E", "F", "W"]
line-length = 100
exclude = [
".git",
".venv",
"__pypackages__",
"__pycache__",
"build",
"dist",
"docs/conf.py",
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[mypy]
[tool.coverage.run]
branch = true
omit = [
# Omit LECO definitions
"pyleco/errors.py",
"pyleco/core/leco_protocols.py",
# omit import file
"pyleco/json_utils/rpc_server.py",
# omit files for testing only
"pyleco/management/test_tasks/*",
]