-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
90 lines (77 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
[build-system]
requires = ["setuptools>=61", "wheel", "lsst-versions"]
build-backend = "setuptools.build_meta"
[project]
name = "ics-cobraCharmer"
description = "Cobra Charmer: low-level control and utilities for the Cobra fiber positioners"
authors = [
{ name = "Subaru PFS ICS Team" }
]
license = { text = "GPL-3.0-or-later" }
readme = "README.md"
requires-python = ">=3.12"
keywords = ["PFS", "Subaru", "ICS", "cobra", "control"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
]
# Core runtime dependencies inferred from imports
dependencies = [
"PyQt5",
"PyYAML",
"astropy",
"bokeh",
"matplotlib",
"numpy",
"opencv-python",
"pandas",
"scikit-image",
"scipy",
"sep",
"setuptools",
"ics-utils @ git+https://github.com/Subaru-PFS/ics_utils.git",
"pfs-utils @ git+https://github.com/Subaru-PFS/pfs_utils.git",
"pfs-instdata @ git+https://github.com/Subaru-PFS/pfs_instdata.git",
"opdb @ git+https://github.com/Subaru-PFS/spt_operational_database.git",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/Subaru-PFS/ics_cobraCharmer"
Repository = "https://github.com/Subaru-PFS/ics_cobraCharmer.git"
# No console scripts are defined here; the repo provides bin/gui_manual which runs
# `python3 -m ics.cobraCharmer.gui_manual` to start the Tkinter GUI.
[tool.setuptools]
# Use namespace packages under the ics namespace
package-dir = {"" = "python"}
zip-safe = false
# Install scripts from the bin/ directory as executable script files
script-files = [
"bin/gui_manual",
"bin/fpgaSim",
"bin/msimRelog",
"bin/gui_manual_w_keys.py",
]
[tool.setuptools.packages.find]
where = ["python"]
include = ["ics.cobraCharmer*"]
[tool.setuptools.package-data]
# Add package data patterns here if needed in the future
"ics.cobraCharmer" = []
[tool.lsst_versions]
write_to = "python/ics/cobraCharmer/version.py"
[tool.black]
line-length = 110
target-version = ["py312"]
[tool.isort]
profile = "black"
line_length = 110
known_first_party = ["ics"]
# Ruff configuration to ignore naming capitalization/camelCase rules for functions, methods, and variables
[tool.ruff.lint]
# Modern Ruff (>=0.1) lint configuration
ignore = ["N802", "N803", "N806", "N815", "N816", "EM101", "TRY003"]
[tool.hatch.metadata]
allow-direct-references = true