Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (42 loc) · 1.63 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (42 loc) · 1.63 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "torch-fea-mesh"
dynamic = ["version"]
description = "PyTorch mesh containers, geometry, and processing for finite element analysis"
readme = "README.md"
requires-python = ">=3.10"
dependencies = ["numpy", "scipy>=1.14", "torch", "torch-scatter"]
[project.optional-dependencies]
vtk = ["vtk"]
chamfer = ["torch-geometric>=2.8", "pyg-lib>=0.6"]
dev = ["pytest>=7", "build", "twine"]
[project.urls]
Repository = "https://github.com/liangbright/pytorch_fea_mesh"
Issues = "https://github.com/liangbright/pytorch_fea_mesh/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["torch_fea_mesh", "torch_fea_mesh.*"]
namespaces = false
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
version = {attr = "torch_fea_mesh.__version__"}
[tool.pytest.ini_options]
testpaths = ["test"]
addopts = "-ra --strict-markers --import-mode=importlib"
markers = [
"geometry: mesh geometry, topology, state, and gradients",
"processing: connectivity, smoothing, repair, and surface processing",
"transform: rigid, similarity, and rotation transformations",
"generation: synthetic mesh generators",
"io: mesh serialization, INP, and VTK",
"vtk: requires the optional VTK dependency",
"chamfer: requires PyTorch Geometric and its KNN backend",
"remeshing: isotropic and template barycentric surface remeshing",
"gpu: requires a CUDA device",
"slow: longer running tests",
"local_data: optional checks using the ignored local data directory",
"packaging: import and package-discovery checks",
]