-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (69 loc) · 1.78 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
[project]
name = "hydraxmpm"
version = "0.0.1"
description = "A simple Material Point Method solver in JAX"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"chex>=0.1.87",
"equinox>=0.11.8",
"jax-tqdm>=0.3.1",
"numpy>=2.1.3",
"optimistix>=0.0.9",
"typing-extensions>=4.12.2",
"jax>=0.4.35",
"jax[cuda12]>=0.4.35",
]
authors = [
{name = "Retief Lubbe", email = "[email protected]"},
{name = "Hongyang Cheng", email = "[email protected]"}]
license = {file = "LICENSE"}
keywords = ["jax", "material-point-method", "granular"]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering",
"Development Status :: 2 - Pre-Alpha"
]
urls = {repository = "https://github.com/GrainLearning/HydraxMPM" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
default-groups = ["plot","dev"]
[tool.hatch.build]
include = ["hydraxmpm/*"]
[dependency-groups]
dev = [
"mkdocs>=1.6.1",
"mkdocs-autorefs>=1.2.0",
"mkdocs-material>=9.5.44",
"mkdocstrings>=0.27.0",
"mkdocstrings-python>=1.12.2",
"pytest>=8.3.3",
"ruff>=0.7.3",
"twine>=6.0.1",
]
plot = [
"imageio>=2.36.0",
"matplotlib>=3.9.2",
"pyvista>=0.44.1",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I001", # isort
]
ignore = [
"C901", # too complex
"W191", # indentation contains tabs
"E741", # ambiguous variable name
"N806", # argument name should be lowercase
"N803", # argument name should be lowercase
]
fixable = ["I001", "F401"]