-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
113 lines (98 loc) · 2.68 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[project]
name = "adam_core"
dynamic = ["version"]
authors = [
{ name = "Kathleen Kiker", email = "[email protected]" },
{ name = "Alec Koumjian", email = "[email protected]" },
{ name = "Joachim Moeyens", email = "[email protected]" },
{ name = "Spencer Nelson", email = "[email protected]" },
{ name = "Nate Tellis", email = "[email protected]" },
]
description = "Core libraries for the ADAM platform"
readme = "README.md"
requires-python = ">=3.10,<3.13"
classifiers = [
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
]
license = { file = "LICENSE.md" }
keywords = ["astronomy", "orbital mechanics", "propagation"]
dependencies = [
"astropy",
"astroquery",
"healpy",
"jax",
"jaxlib",
"numba",
"numpy>=2.0.0",
"pdm",
"pyarrow>=13.0.0",
"pandas",
"ray",
"requests",
"scipy",
"spiceypy",
"quivr>=0.7.4",
"mpc-obscodes",
"naif-de440",
"naif-leapseconds",
"naif-eop-high-prec",
"naif-eop-predict",
"naif-eop-historical",
"naif-earth-itrf93",
"timezonefinder",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.urls]
"Documentation" = "https://github.com/B612-Asteroid-Institute/adam_core#README.md"
"Issues" = "https://github.com/B612-Asteroid-Institute/adam_core/issues"
"Source" = "https://github.com/B612-Asteroid-Institute/adam_core"
[dependency-groups]
test = [
"pytest-benchmark",
"pytest-cov",
"pytest-doctestplus",
"pytest-mock",
"pytest",
"isort",
"mypy",
"ruff",
"black",
"adam-assist>=0.2.0",
]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 110
target-version = "py311"
lint.ignore = []
exclude = ["build"]
[tool.pdm.build]
includes = ["src/adam_core/"]
[tool.pdm.version]
source = "scm"
write_to = "adam_core/_version.py"
write_template = "__version__ = '{}'"
[tool.pdm.scripts]
check = { composite = ["lint", "typecheck", "test"] }
format = { composite = ["black ./src/adam_core", "isort ./src/adam_core"] }
lint = { composite = [
"ruff check ./src/adam_core",
"black --check ./src/adam_core",
"isort --check-only ./src/adam_core",
] }
fix = "ruff check ./src/adam_core --fix"
typecheck = "mypy --strict ./src/adam_core"
test = "pytest --benchmark-skip -m 'not profile' {args}"
doctest = "pytest --doctest-plus --doctest-only"
benchmark = "pytest --benchmark-only {args}"
coverage = "pytest --benchmark-skip --cov=adam_core --cov-report=xml -m 'not profile' {args}"