-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (95 loc) · 2.3 KB
/
pyproject.toml
File metadata and controls
107 lines (95 loc) · 2.3 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
[project]
name = "hydraxmpm"
version = "0.0.1"
description = "A simple Material Point Method solver in JAX"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"equinox>=0.13.2",
"jaxtyping>=0.3.5",
"scipy>=1.14.1",
"scikit-image>=0.26.0",
"typeguard==2.13.3",
"vtk>=9.5.2",
"rerun-sdk>=0.28.1",
"optax>=0.2.6",
"readme-md>=2018.11.23",
]
authors = [
{name = "Retief Lubbe", email = "r.lubbe@utwente.nl"},
{name = "Hongyang Cheng", email = "h.cheng@utwente.nl"}]
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" }
[project.optional-dependencies]
cuda = [
"jax[cuda12]>=0.4.30",
]
cpu = [
"jax[cpu]>=0.4.30"
]
storage = [
"numcodecs>=0.16.5",
"zarr>=3.1.6",
"h5py>=3.14.0",
]
plot = [
"matplotlib>=3.10.8",
"pyvista[all]>=0.44.2",
"vtk>=9.5.2",
"seaborn>=0.13.2",
]
full-cuda = [
"hydraxmpm[cuda,storage,plot]"
]
full-cpu = [
"hydraxmpm[cpu,storage,plot]"
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"ruff>=0.7.3",
"mypy>=1.15.0",
"pytest-cov>=6.0.0",
"zensical>=0.0.15",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
default-groups = ["dev"]
[tool.hatch.build]
include = ["hydraxmpm/*"]
[tool.hatch.build.targets.wheel]
packages = ["hydraxmpm"]
[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
"F811", # redefinition (e.g., constitutive_law: ConstitutiveLaw)
]
fixable = ["I001", "F401"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.deptry]
exclude = ["examples", "not_tested",".venv","test","not_test","NotInclude"]