-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (86 loc) · 2.51 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (86 loc) · 2.51 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mime-engine"
version = "0.2.0"
description = "MIcrorobotics Multiphysics Engine — domain-specific physics for microrobot simulation"
readme = "README.md"
license = "LGPL-3.0-or-later"
requires-python = ">=3.10"
authors = [
{ name = "Nicholas Ehsan Roy" },
]
keywords = [
"microrobotics",
"simulation",
"multi-physics",
"jax",
"differentiable-simulation",
"lattice-boltzmann",
"computational-fluid-dynamics",
"gpu",
"scientific-computing",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
"maddening>=0.2.1,<0.3",
"jax>=0.5,<0.6",
"jaxlib>=0.5,<0.6",
"numpy>=1.24",
]
[project.urls]
Homepage = "https://microrobotica.org/mime/"
Repository = "https://github.com/Microrobotics-Simulation-Framework/MIME"
Documentation = "https://microrobotica.org/mime/"
Issues = "https://github.com/Microrobotics-Simulation-Framework/MIME/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-xdist",
]
docs = [
"sphinx>=7.0",
"myst-parser>=2.0",
"sphinxcontrib-bibtex>=2.5",
"pydata-sphinx-theme>=0.14",
]
ci = [
"pytest>=7.0",
"pyyaml>=6.0",
]
viz = [
"pyvista>=0.42",
]
runner = [
"pyzmq>=25.0",
"pyyaml>=6.0",
"matplotlib>=3.7",
]
[tool.hatch.build.targets.wheel]
packages = ["src/mime"]
[tool.hatch.build.targets.sdist]
include = ["src/mime"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
# CI-fast default: exclude `slow` tests. Run the full suite locally
# with `pytest -m "slow or not slow"` (or `pytest --runslow` if a
# helper plugin is added later).
addopts = "-m 'not slow'"
markers = [
"verification: MIME-VER-* verification benchmarks",
"slow: tests too expensive for CI (>30 s on CPU). Run with `pytest -m 'slow or not slow'`.",
"gpu: tests that require a CUDA GPU (the CPU path NaNs or is impractically slow).",
"x64: test needs jax_enable_x64=True (tighter precision); scoped per-test by conftest so it does not leak into other tests.",
]