-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (85 loc) · 2.38 KB
/
pyproject.toml
File metadata and controls
89 lines (85 loc) · 2.38 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
[project]
name = "shapepipe"
version = "1.1.0"
description = "Galaxy shape measurement pipeline."
readme = "README.rst"
authors = [
{ name = "Samuel Farrens", email = "samuel.farrens@cea.fr" },
{ name = "Axel Guinot", email = "axel.guinot@cea.fr" },
{ name = "Martin Kilbinger", email = "martin.kilbinger@cea.fr" }
]
license = { "file" = "LICENSE" }
requires-python = ">=3.12"
# Abstract runtime constraints. Exact versions live in `uv.lock` — pyproject
# is the single source of truth for *what* shapepipe needs, the lockfile for
# *which versions*. Minimums signal the major-version target; uv.lock pins
# the actual installed versions. Bump minimums only when crossing a major
# version line or when a feature actually requires a specific release.
dependencies = [
"astropy>=7.0", # major 6 → 7
"astroquery",
"canfar",
"cs_util>=0.1.9",
"galsim>=2.8",
"h5py",
"joblib>=1.4",
"matplotlib>=3.10",
"mccd>=1.2.4",
"modopt>=1.6",
"mpi4py>=4.0",
"numba>=0.59", # numpy 2 support
"numpy>=2.0", # major 1 → 2
"pandas>=3.0", # major 2 → 3
"python-dateutil",
"python-pysap>=0.3",
"PyQt5",
"pyqtgraph",
"reproject>=0.19",
"sf_tools>=2.0.4",
"skaha>=1.7",
"sqlitedict>=2.0",
"termcolor",
"tqdm>=4.63",
"vos>=3.6",
# ngmix is pinned to Axel's stable_version branch until upstream ngmix
# absorbs the fixes — tracked separately, do not modernize this line.
"ngmix @ git+https://github.com/aguinot/ngmix@stable_version",
]
[project.optional-dependencies]
doc = [
"myst-parser",
"numpydoc",
"sphinx",
"sphinxcontrib-bibtex",
"sphinx-book-theme"
]
jupyter = [
"ipython>=8.18",
"jupyterlab>=4.3",
"snakemake>=8.27",
]
lint = [
"black",
"isort"
]
release = [
"build",
"twine",
]
test = [
"pytest>=8.3",
"pytest-cov>=5.0",
"pytest-pycodestyle>=2.4",
"pytest-pydocstyle>=2.4",
]
fitsio = ["fitsio"]
dev = ["shapepipe[doc,jupyter,lint,release,test,fitsio]"]
[project.scripts]
shapepipe_run = "shapepipe.shapepipe_run:main"
summary_run = "shapepipe.summary_run:main"
canfar_submit_job = "shapepipe.canfar_run:run_job"
canfar_monitor = "shapepipe.canfar_run:run_log"
canfar_monitor_log = "shapepipe.canfar_run:run_monitor_log"
[tool.pytest.ini_options]
addopts = "--verbose --cov=shapepipe"
testpaths = ["shapepipe"]