-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (107 loc) · 3.06 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (107 loc) · 3.06 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=45", "setuptools_scm[toml]>=6.2",]
[project]
classifiers = [ "Development Status :: 5 - Production/Stable", "Natural Language :: English", "Programming Language :: Python :: 3",]
description = "Interface generation for ophyd devices"
dynamic = [ "version", "readme" ]
keywords = []
name = "typhos"
requires-python = ">=3.12"
dependencies = [
"coloredlogs",
"entrypoints",
"lxml",
"numpy",
"numpydoc",
"ophyd",
"pcdsutils",
"platformdirs",
"PyQt5",
"pydm>=1.19.1",
"pyqtgraph",
"qdarkstyle",
"qtawesome",
"qtpy",
"timechart",
]
[[project.authors]]
name = "SLAC National Accelerator Laboratory"
[options]
zip_safe = false
include_package_data = true
[project.license]
file = "LICENSE.md"
[project.scripts]
typhos = "typhos.cli:main"
[tool.setuptools_scm]
write_to = "typhos/_version.py"
[project.entry-points."pydm.widget"]
TyphosAlarmCirclePlugin = "typhos.alarm:TyphosAlarmCircle"
TyphosAlarmEllipsePlugin = "typhos.alarm:TyphosAlarmEllipse"
TyphosAlarmPolygonPlugin = "typhos.alarm:TyphosAlarmPolygon"
TyphosAlarmRectanglePlugin = "typhos.alarm:TyphosAlarmRectangle"
TyphosAlarmTrianglePlugin = "typhos.alarm:TyphosAlarmTriangle"
TyphosCompositeSignalPanelPlugin = "typhos.panel:TyphosCompositeSignalPanel"
TyphosDeviceDisplayPlugin = "typhos.display:TyphosDeviceDisplay"
TyphosDisplaySwitcherPlugin = "typhos.display:TyphosDisplaySwitcher"
TyphosDisplayTitlePlugin = "typhos.display:TyphosDisplayTitle"
TyphosHelpFramePlugin = "typhos.display:TyphosHelpFrame"
TyphosMethodButtonPlugin = "typhos.func:TyphosMethodButton"
TyphosNotesEditPlugin = "typhos.notes:TyphosNotesEdit"
TyphosPositionerWidgetPlugin = "typhos.positioner:TyphosPositionerWidget"
TyphosPositionerRowWidgetPlugin = "typhos.positioner:TyphosPositionerRowWidget"
TyphosRelatedSuiteButtonPlugin = "typhos.related_display:TyphosRelatedSuiteButton"
TyphosSignalPanelPlugin = "typhos.panel:TyphosSignalPanel"
[project.entry-points."pydm.data_plugin"]
HappiPlugin = "typhos.plugins:HappiPlugin"
SignalPlugin = "typhos.plugins:SignalPlugin"
[project.optional-dependencies]
dev = [
"caproto",
"happi",
"line_profiler",
"lxml-stubs",
"pcdsdevices>=8.4.0",
"ruff>=0.15.11",
]
doc = [
"docs-versions-menu",
"happi",
"ipython>=7.16",
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-jquery",
]
test = [
"caproto",
"happi",
"line_profiler",
"pcdsdevices>=8.4.0",
"pytest",
"pytest-benchmark",
"pytest-cov",
"pytest-qt",
"pytest-timeout",
]
[tool.setuptools.packages.find]
where = [ ".",]
include = [ "typhos*",]
namespaces = false
[tool.setuptools.dynamic.readme]
file = "README.md"
content-type = "text/markdown"
[tool.ruff]
line-length = 120
exclude = [".git", "__pycache__", "build", "dist", "*/_version.py"]
[tool.ruff.lint]
select = ["E", "F", "W", "B", "I"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pyright.defineConstant]
PYQT5 = true
PYSIDE2 = false
PYQT6 = false
PYSIDE6 = false
[tool.uv]
exclude-newer = "7 days"