Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (53 loc) · 1.73 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (53 loc) · 1.73 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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "kiralux"
version = "0.1.0"
description = "Pure-Python driver for the ThorLabs Kiralux CS505MUP1 polarization camera (macOS/Linux, no ThorLabs native libraries)"
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Daniel Côté", email = "[email protected]" }]
keywords = ["thorlabs", "kiralux", "camera", "polarization", "usb", "microscopy", "imx250mzr"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
dependencies = [
"hardwarelibrary>=2.2.0",
"numpy",
]
[project.optional-dependencies]
# Image I/O used by the scripts in examples/ (not needed by the driver itself).
examples = ["pillow"]
# Test suite: `pytest` runs everything that does not need a camera; with a camera
# plugged in, the `hardware` tests run too (`pytest --hardware`, or `--no-hardware` to skip them).
test = ["pytest", "pytest-cov"]
[project.urls]
Homepage = "https://github.com/DCC-Lab/Kiralux-python"
Repository = "https://github.com/DCC-Lab/Kiralux-python"
[tool.setuptools]
packages = ["kiralux"]
[tool.setuptools.package-data]
kiralux = ["protocol.json"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"hardware: needs a Kiralux camera plugged in over USB (skipped when none is found)",
]
[tool.coverage.run]
source = ["kiralux"]
branch = true
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"@abstractmethod",
"if __name__ == .__main__.:",
]