-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
172 lines (157 loc) · 4.36 KB
/
pyproject.toml
File metadata and controls
172 lines (157 loc) · 4.36 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
[project]
name = "adam_core"
dynamic = ["version"]
authors = [
{ name = "Kathleen Kiker", email = "kathleen@b612foundation.org" },
{ name = "Alec Koumjian", email = "alec@b612foundation.org" },
{ name = "Joachim Moeyens", email = "moeyensj@uw.edu" },
{ name = "Spencer Nelson", email = "spencer@b612foundation.org" },
{ name = "Nate Tellis", email = "nate@b612foundation.org" },
]
description = "Core libraries for the ADAM platform"
readme = "README.md"
requires-python = ">=3.11,<3.14"
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",
# jaxlib cpu is only available for macos x86_64 <=0.4.38
"jax>=0.4.23,<=0.4.38; platform_system == 'Darwin' and platform_machine == 'x86_64'",
"jax; platform_system != 'Darwin' or platform_machine != 'x86_64'",
"jaxlib>=0.4.23,<=0.4.38; platform_system == 'Darwin' and platform_machine == 'x86_64'",
"jaxlib; platform_system != 'Darwin' or platform_machine != 'x86_64'",
"numba",
"numpy>=2.0.0",
"pdm",
"pyarrow>=13.0.0",
"pandas",
"ray",
"requests",
"scipy",
"spiceypy",
"quivr>=0.8.1",
"mpc-obscodes",
"naif-de440",
"naif-leapseconds",
"naif-eop-high-prec",
"naif-eop-predict",
"naif-eop-historical",
"naif-earth-itrf93",
"timezonefinder",
]
[project.optional-dependencies]
plots = [
"geopandas>=1.0.1",
"plotly>=5.24.1",
"nbformat>=4.2.0",
"matplotlib>=3.10.1",
]
oem = [
"oem>=0.4.5",
]
docs = [
"sphinx>=8.2.0,<9.0.0",
"furo>=2024.8.6",
"myst-nb>=1.3.0",
"nbformat>=5.10.4",
"matplotlib>=3.10.1",
"plotly>=5.24.1",
"geopandas>=1.0.1",
"oem>=0.4.5",
"sphinx-copybutton>=0.5.2",
"sphinx-sitemap>=2.8.0",
]
[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-xdist",
"pytest",
"isort",
"mypy",
"ruff",
"black",
"adam-assist>=0.3.5",
"mpcq>=0.4.0; python_version < '3.13'",
"google-cloud-bigquery",
"google-cloud-bigquery-storage",
"ipython>=8.32.0",
"ipykernel>=6.29.5",
"matplotlib>=3.10.1",
"geopandas>=1.0.1",
"plotly>=5.24.1",
"nbformat>=4.2.0",
"oem>=0.4.5",
]
docs = [
"sphinx>=8.2.0,<9.0.0",
"furo>=2024.8.6",
"myst-nb>=1.3.0",
"nbformat>=5.10.4",
"matplotlib>=3.10.1",
"plotly>=5.24.1",
"geopandas>=1.0.1",
"oem>=0.4.5",
"sphinx-copybutton>=0.5.2",
"sphinx-sitemap>=2.8.0",
]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
norecursedirs = ["__pypackages__"]
[tool.ruff]
line-length = 110
target-version = "py311"
lint.ignore = []
exclude = ["build"]
[tool.pdm.build]
includes = ["src/adam_core/"]
excludes = [
"**/__pycache__/**",
"**/*.py[cod]",
"**/*.nbc",
"**/*.nbi",
"**/.DS_Store",
]
[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}"
docs = { cmd = "sphinx-build -b html docs/source docs/build", env = { LC_ALL = "C", LANG = "C" } }
docs-check = { cmd = "sphinx-build -E -b html -W --keep-going docs/source docs/build_ci", env = { LC_ALL = "C", LANG = "C" } }