-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
188 lines (177 loc) · 4.93 KB
/
pyproject.toml
File metadata and controls
188 lines (177 loc) · 4.93 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "flowchem"
version = "1.1.0-post2"
description = "Flowchem is a library to control instruments and devices commonly found in chemistry labs via an interoperable web API."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ['LICEN[CS]E*',]
keywords = ["chemistry", "automation", "laboratory", "science"]
authors = [
{ name = "Dario Cambié", email = "2422614+dcambie@users.noreply.github.com" },
{ name = "Jakob Wolf", email = "75418671+JB-Wolf@users.noreply.github.com" },
{ name = "Wei-Hsin Hsu", email = "98024191+cynthiabour@users.noreply.github.com" },
{ name = "Samuel Saraiva", email = "88909409+samuelvitorsaraiva@users.noreply.github.com" },
]
maintainers = [
{ name = "Jakob Wolf", email = "75418671+JB-Wolf@users.noreply.github.com" },
{ name = "Samuel Saraiva", email = "88909409+samuelvitorsaraiva@users.noreply.github.com" }
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent"
]
dependencies = [
"aioserial>=1.3.1",
"anyio",
"asyncua>=1.0.2",
"bronkhorst-propar>=1.1.0",
"click<=8.1.3", # Temporary due to https://github.com/pallets/click/issues/2558
"fastapi>=0.100.0",
"ifaddr>=0.2.0",
"loguru>=0.7.0",
"lxml>=4.9.2",
"numpy",
"packaging>=23.1",
"pint>=0.16.1,!=0.21", # See hgrecco/pint#1642
"pydantic[email]>=2.0.2",
"pyserial>=3",
"requests",
"rich_click>=1.6.1",
"tomli; python_version < \"3.11\"",
"uvicorn>=0.19.0",
"zeroconf>=0.71.0",
"python-multipart>=0.0.20",
]
[project.optional-dependencies]
all = [
"black>=26.3.1",
"data-science-types",
"lxml-stubs",
"mypy>=1.19.1",
"pre-commit",
"ruff>=0.15.9",
"types-lxml",
"types-PyYAML",
"types-requests",
"flowchem-test>=0.1b4",
"httpx",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-xprocess",
"phidget22>=1.7.20211005",
"furo",
"mistune==0.8.4",
"myst-parser",
"sphinx",
"sphinx-design",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinxcontrib-openapi"
]
ci = [
"black>=26.3.1",
"data-science-types",
"lxml-stubs",
"mypy>=1.19.1",
"pre-commit",
"ruff>=0.15.9",
"types-lxml",
"types-PyYAML",
"types-requests",
"flowchem-test>=0.1b4",
"httpx",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-xprocess",
"furo",
"mistune==0.8.4",
"myst-parser",
"sphinx",
"sphinx-design",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinxcontrib-openapi"
]
dev = [
"black>=26.3.1",
"data-science-types",
"lxml-stubs",
"mypy>=1.19.1",
"pre-commit",
"ruff>=0.15.9",
"types-lxml",
"types-PyYAML",
"types-requests",
]
test = [
"flowchem-test>=0.1b4",
"httpx",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-xprocess",
]
phidget = [
"phidget22>=1.7.20211005",
]
docs = [
"furo",
"mistune==0.8.4", # Due to sphinx-contrib/openapi#121
"myst-parser",
"sphinx",
"sphinx-design",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinxcontrib-openapi",
]
[project.urls]
homepage = "https://github.com/automatedchemistry/flowchem"
documentation = "https://flowchem.readthedocs.io"
repository = "https://github.com/automatedchemistry/flowchem"
[project.scripts]
flowchem = "flowchem.__main__:main"
flowchem-autodiscover = "flowchem.utils.device_finder:main"
flowchem-sim = "flowchem.sim.__main__:main"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
flowchem = ["py.typed"]
[tool.mypy]
ignore_missing_imports = true
python_version = "3.11"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
# Note: pytest cov is not compatible with the pycharm debugger in tests
addopts = "-m 'not HApump and not Spinsolve and not FlowIR and not AzuraPump and not ML600 and not Knauer_Distribution_Valve and not CVC3000 and not Manson' --no-cov"
markers = [
"HApump: tests requiring a local HA Elite11 connected.",
"Spinsolve: tests requiring a connection to Spinsolve.",
"FlowIR: tests requiring a connection to a FlowIR.",
"AzuraPump: tests for Azura compact.",
"ML600: test for ML600 pump",
"Knauer_Distribution_Valve: test knauer distribution valve",
"CVC3000: Test CVC3000 vacun pump",
"Manson: Test Manson power control",
"FakeDevice: Test fake device"
]
[tool.ruff]
line-length = 120
# Allow imports relative to the "src" and "test" directories.
src = ["src", "test"]
lint.per-file-ignores."__init__.py" = ["F403"]