-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.66 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.66 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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "astro-eddy"
version = "3.0.1"
authors = [
{ name = "Richard Teague", email = "rteague@mit.edu" }
]
description = "Tools to study the dynamics of protoplanetary disks."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Astronomy",
]
dependencies = [
"scipy>=1.7",
"numpy>=2.0",
"jax>=0.4",
"jaxlib>=0.4",
"tinygp>=0.3",
"matplotlib>=3",
"emcee>=3",
"corner>=2",
"zeus-mcmc>=2",
"numpyro>=0.15",
"bettermoments>=1.9.6",
]
[project.optional-dependencies]
test = [
"pytest>=7",
]
docs = [
"sphinx>=1.7.5",
"jupyter",
"nbsphinx",
"pygments>=2.4.1",
"sphinx_rtd_theme",
]
[project.urls]
Homepage = "https://github.com/PlanetFormationLab/eddy"
Documentation = "https://eddy.readthedocs.io"
Repository = "https://github.com/PlanetFormationLab/eddy"
Issues = "https://github.com/PlanetFormationLab/eddy/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"slow: marks tests that take more than a few seconds (deselect with '-m \"not slow\"')",
]
[tool.ruff]
target-version = "py310"
# Match the loose long-line style of the existing astronomy codebase
# rather than blindly hard-wrapping at 79 chars. 120 accommodates the
# one LaTeX equation in `rotationmap.fit_annuli`'s docstring without
# special-casing.
line-length = 120
extend-exclude = [
"docs/tutorials", # executed notebooks have generated lines longer than the limit
"paper",
]
[tool.ruff.lint]
# Only the truly fundamental checks: real bugs (F), basic pycodestyle
# (E/W). Import sorting, naming, and stylistic preferences are
# intentionally not enabled — they would generate noise without
# substantive value for a small scientific package.
select = ["E", "F", "W"]
[tool.ruff.lint.per-file-ignores]
# eddy/__init__.py deliberately configures JAX (jax.config.update) before
# importing the submodules; that triggers E402 (module-level import not
# at top of file) which is the desired idiom here, not a bug.
"eddy/__init__.py" = ["E402"]
[tool.setuptools.packages.find]
where = ["."]
include = ["eddy*"]
[tool.setuptools.package-data]
eddy = ["*.yml"]