-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (47 loc) · 1.24 KB
/
pyproject.toml
File metadata and controls
57 lines (47 loc) · 1.24 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
[build-system]
requires = ["setuptools >= 77.0.3", "lsst-versions"]
build-backend = "setuptools.build_meta"
[project]
name = "pfs-utils"
description = "Common util tools for the Subaru PFS DRP"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"astroplan",
"astropy",
"matplotlib",
"numpy",
"pandas",
"pfs-datamodel @ git+https://github.com/Subaru-PFS/datamodel.git",
"pfs-instdata @ git+https://github.com/Subaru-PFS/pfs_instdata.git",
"psycopg[binary]",
"pytz",
"scipy",
"sqlalchemy",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"ruff"
]
[project.urls]
"Homepage" = "https://github.com/Subaru-PFS/pfs_utils"
[tool.setuptools]
package-dir = { "" = "python" }
include-package-data = true
[tool.setuptools.packages.find]
where = ["python"]
namespaces = true
[tool.setuptools.package-data]
"pfs.utils" = ["data/**/*"]
[tool.setuptools.exclude-package-data]
"*" = ["*.pyc", "__pycache__", ".git*", ".DS_Store"]
[tool.lsst_versions]
write_to = "python/pfs/utils/version.py"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib" # Recommended as best practice
[tool.pydocstyle]
convention = "numpy"
[tool.hatch.metadata]
allow-direct-references = true