-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
98 lines (88 loc) · 2.33 KB
/
pyproject.toml
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
92
93
94
95
96
97
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "VisiOmatic"
version = "3.0.5"
description = "A web application for visualizing astronomical images"
authors = [
{name = "Emmanuel Bertin", email = "bertin@cfht.hawaii.edu"},
]
keywords = ["astronomy", "CFHT", "imaging"]
readme = "README.md"
license = {file = "LICENSE"}
dependencies = [
"astropy >= 5.0",
"atomics >= 1.0",
"fastapi >= 0.74",
"jinja2 >= 3.1.2",
"joblib >= 1.0",
"methodtools >= 0.4.7",
"numpy >= 1.19",
"opencv-python >= 4.5",
"orjson >= 3.9.0",
"platformdirs >= 3.4.0",
"posix_ipc >= 1.1.0; platform_system=='Linux'",
"pydantic >= 2.2",
"pydantic-settings >= 2.2",
"scikit-image >= 0.22.0",
"setuptools",
"simplejpeg >= 1.6",
"tiler >= 0.5",
"ultradict >= 0.0.6; platform_system=='Linux'",
"uvicorn[standard] >= 0.30"
]
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
[project.optional-dependencies]
test = [
"httpx",
"mypy",
"pytest-cov"
]
doc = [
"autodoc_pydantic >= 2.2.0",
"sphinx >= 7.0",
"sphinx-rtd-theme >= 1.2",
"sphinxcontrib-bibtex >= 2.4.0",
"sphinx-js >= 3.2.2"
]
[project.scripts]
visiomatic = "visiomatic.cmd.start:main"
[project.urls]
Repository = "https://github.com/astromatic/visiomatic"
Homepage = "https://visiomatic.org"
Documentation = "https://astromatic.github.io/visiomatic"
[tool.pdm.build]
excludes = [
"src/visiomatic/client/node_modules",
"src/visiomatic/doc/doctrees"
]
[tool.pdm.scripts]
doc.cmd = "make inline"
doc.working_dir = "docs"
mypy = "mypy src"
pre_build = {composite = ["doc", "mypy"]}
pre_install = {composite = ["doc", "mypy"]}
[tool.mypy]
exclude = ["docs", "tests"]
[tool.pytest.ini_options]
norecursedirs = [
"tests/performance",
"src/visiomatic/client",
]
addopts = "--doctest-modules --doctest-continue-on-failure"
doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
filterwarnings = [
"ignore::DeprecationWarning"
]
tmp_path_retention_policy = "none"
[tool.coverage.run]
source_pkgs = ["visiomatic"]
command_line = "-m pytest tests"