-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.18 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 loc) · 1.18 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
[build-system]
requires = [
"setuptools >= 77.0.3",
"lsst-versions",
]
build-backend = "setuptools.build_meta"
[project]
name = "ics-utils"
description = "Common util tools for the Subaru ICS actors"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"astropy",
"astropy_iers_data",
"fitsio",
"gitpython",
"numpy",
"pandas",
"pfs-datamodel @ git+https://github.com/Subaru-PFS/datamodel.git",
"pfs-tron-actorcore @ git+https://github.com/Subaru-PFS/tron_actorcore.git",
"pfs-utils @ git+https://github.com/Subaru-PFS/pfs_utils.git",
"psycopg2-binary",
"pytz",
"scipy",
"sqlalchemy",
"twisted",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black",
"isort",
"pytest>=8.0",
"ruff"
]
[tool.setuptools.packages.find]
where = ["python/"]
include = ["ics", "ics.*"]
[tool.black]
line-length = 110
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 110
known_first_party = ["ics"]
[tool.lsst_versions]
write_to = "python/ics/utils/version.py"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib" # Recommended as best practice
[tool.pydocstyle]
convention = "numpy"