-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 2.14 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (66 loc) · 2.14 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "easyfea"
version = "3.5.1"
description = "User-friendly Python library that simplifies finite element analysis."
authors = [{ name = "Matthieu Noel", email = "matthieu.noel7@gmail.com" }]
readme = "README.md"
requires-python = ">=3.9"
keywords = ["finite-element-analysis", "phase-field", "python", "easy", "fem"]
license = { file = "LICENSE.txt" }
classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy",
"gmsh>=4.12",
"scipy",
]
[project.optional-dependencies]
dev = ["mypy", "black", "ruff", "pytest", "jax"]
io = ["imageio", "imageio[ffmpeg]", "meshio"]
jax = ["jax"]
viz = ["matplotlib", "pyvista", "pygltflib", "usd-core"]
[project.urls]
Documentation = "https://easyfea.readthedocs.io/en/latest/"
Repository = "https://github.com/matnoel/EasyFEA"
Issues = "https://github.com/matnoel/EasyFEA/issues"
Changelog = "https://github.com/matnoel/EasyFEA/blob/main/CHANGELOG.md"
[tool.setuptools.packages.find]
include = ["EasyFEA", "EasyFEA.*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
python_version = "3.11"
disable_error_code = [
"safe-super",
"import-untyped",
"override",
"union-attr",
"import-not-found",
"assignment",
]
[tool.ruff]
target-version = "py311"
include = ["pyproject.toml", "EasyFEA/**/*.py", "examples/**/*.py"]
[tool.ruff.lint]
ignore = ["E731", "E741", "F402"]
[tool.ruff.lint.per-file-ignores]
# imports must follow module-level setup (BUILDING_GALLERY, requires_* decorators)
"__init__.py" = ["F401", "E402"]
"USD.py" = ["E402"]
"Geoms.py" = ["F401"]
"Models.py" = ["F401"]
"Simulations.py" = ["F401"]