Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (80 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (80 loc) · 1.95 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
[tool.hatch.metadata]
allow-direct-references = true
[project]
name = "emerge"
version = "1.4.0"
description = "An open source EM FEM simulator in Python"
readme = "README.md"
requires-python = ">=3.10, <4.0"
dependencies = [
"gmsh>=4.13.0, <4.14.0",
"joblib>=1.5.1",
"loguru>=0.7.3",
"matplotlib>=3.8.0",
"numba>=0.57.0; platform_system != \"Linux\"",
"numba>=0.57.0, <=0.60.0; platform_system==\"Linux\"",
"numpy>=1.24, <2.3",
"pyvista>=0.45.2",
"scipy>=1.14.0",
"mkl!=2024.0; platform_machine == \"x86_64\" or platform_machine == \"AMD64\"",
]
[project.scripts]
emerge = "emerge.cli:main"
[tool.hatch.build.targets.sdist.sources]
"src/emerge" = "emerge"
[project.optional-dependencies]
umfpack = [
"scikit-umfpack; sys_platform != 'win32'",
]
cudss = [
"nvidia-cudss-cu12==0.5.0.16",
"nvmath-python[cu12]==0.5.0",
"cupy-cuda12x"
]
cudss12 = [
"nvidia-cudss-cu12==0.5.0.16",
"nvmath-python[cu12]==0.5.0",
"cupy-cuda12x"
]
dxf = [
"ezdxf"
]
gerber = [
"pygerber"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pipdeptree>=2.28.0",
"pytest>=8.4.1",
"scikit-umfpack>=0.4.2",
"threadpoolctl>=3.6.0",
"pygerber",
]
[tool.uv]
no-build-isolation-package = ["cchardet"]
[project.urls]
Homepage = "https://github.com/FennisRobert/EMerge"
Issues = "https://github.com/FennisRobert/EMerge/issues"
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
publish-url = "https://upload.pypi.org/legacy"
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple"
publish-url = "https://test.pypi.org/legacy"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--ignore=trial_scripts"
]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
filterwarnings = [
"ignore:.*SwigPyPacked.*:DeprecationWarning",
"ignore:.*SwigPyObject.*:DeprecationWarning",
"ignore:.*swigvarlink.*:DeprecationWarning",
]