-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
91 lines (80 loc) · 2.5 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=58", "wheel"]
[project]
authors = [
{name = "Vincent Deo", email = "vdeo@naoj.org"},
{name = "Miles Lucas", email = "mdlucas@hawaii.edu"},
]
dependencies = [
"docopt",
"libtmux",
"pygame",
#"pyMilk", DO NOT - there is a pyMilk on pipy which is a completely different thing.
"numpy",
"pydantic",
"tqdm",
"tomli",
"tomli-w"
]
description = "SCExAO camera codebase"
name = "camstack"
readme = "README.md"
version = "0.1.0"
[tool.setuptools]
packages = ["camstack"]
script-files = [
"./scripts/cam-restartdeps",
"./scripts/cam-killall",
"./scripts/cam-vcamstart",
# "./viewers/anycam.py", script that is de-__main__ified and instead dud_main-ified for example, see below.
]
#[tool.setuptools.packages.find]
#include = ["camstack*"]
# vdeo: tentative - mark extras in order to deploy entry-points
# only for installs with extras.
[project.optional-dependencies]
sc5 = []
sc6 = []
all = []
# vdeo: but at this time, entrypoints only with an extra dep don't seem to be
# possible... https://github.com/pypa/pip/issues/9726
[project.scripts]
# NEW for starting cams.
camstart = "camstack.main:main"
# VIEWERS
# Using an empty dud_main function at the end of file for when
# We really just want the script
anycam = "camstack.viewermains.anycam:dud_main"
firstcam = "camstack.viewermains.firstcam:main"
apapane = "camstack.viewermains.apapane:dud_main"
palila = "camstack.viewermains.palila:dud_main"
# @Miles is this what's supposed to happen?
iiwi = "camstack.viewermains.iiwi:main" # WARNING IN TRANSITION
pueo = "camstack.viewermains.pueo:main" # WARNING IN TRANSITION
vcam1 = "camstack.viewermains.vcam:main1"
vcam2 = "camstack.viewermains.vcam:main2"
vpupcam = "camstack.viewermains.vpupcam:main"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--ignore=mains/*",
]
[tool.coverage.run]
command_line = "-m pytest"
branch = true
source = ["./camstack"]
[tool.pyright]
extraPaths = [] # Need to list scexao's pip install -e packages... --> pyrightconfig.json
typeCheckingMode = "basic" # off | basic | standard | strict # Look there https://github.com/microsoft/pyright/blob/main/docs/configuration.md
include = ["camstack"]
exclude = ["build/",
"**/__pycache",
"**/.mypy_cache",
"camstack/acq/flycapture_usbtake.py",
"camstack/acq/spinnaker_usbtake.py"
]
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonPlatform = "Linux"