-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (49 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
60 lines (49 loc) · 1.41 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
# Project metadata
[tool.pdm.version]
source = "scm"
[project]
dynamic = ["version"]
name = "mkidcore"
description = "Mazin Lab Core MKID Library"
readme = "README.md"
authors = [{name = "Mazin Lab contributors"}]
license = { text = "BSD-2-clause" }
requires-python = "~=3.10"
dependencies = [
"setuptools>=72.2.0",
"numpy>=1.24", # We pin this because we build a C extension, when you update this also update the build system depend
"astropy>=5.0",
"astroplan>=0.10",
"ruamel.yaml>0.18",
"pyyaml>=6.0.2",
"multiprocessing_logging",
]
[build-system]
requires = ["pdm-backend~=2.3.0", "setuptools>=72.2.0", "numpy>=2.0", "Cython"]
build-backend = "pdm.backend"
[tool.pdm]
# Remove this once we no longer support Python 3.8.
ignore_package_warnings = ["sphinx*", "alabaster"]
[tool.pdm.build]
run-setuptools = true
includes = ["mkidcore/"]
source-includes = [
".gitignore",
".coveragerc",
]
# Development workflow configuration
[tool.pdm.dev-dependencies]
# This version requirement needs to be synchronized with the one in pyproject.toml above!
test = [
"coverage",
]
docs = [
"pdoc>=14.6.1"
]
[tool.pdm.scripts]
test.composite = ["test-code", "test-docs"]
# test-code.env = {PYTHONWARNINGS = "error"}
test-code.cmd = "python -m coverage run -m unittest discover -t . -s tests -v"
test-docs.cmd = "pdoc mkidcore -o docs"
document.cmd = "pdoc mkidcore -o docs"
document-live.cmd = "pdoc mkidcore"