-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (65 loc) · 2.33 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
78
[build-system]
build-backend = "scikit_build_core.build"
requires = ["scikit-build-core >=0.4.3", "nanobind >=1.3.2"]
[project]
authors = [
{name = "Alex Kaszynski", email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"numpy>=1.22.4"
]
description = "Read nodes and elements from LS-DYNA decks."
name = "lsdyna-mesh-reader"
readme = "README.md"
requires-python = ">=3.9"
version = "0.2.dev0"
[project.optional-dependencies]
docs = ["pydata-sphinx-theme", "numpydoc", "sphinx", "sphinx-copybutton", "myst-parser"]
[project.urls]
Documentation = "https://akaszynski.github.io/lsdyna-mesh-reader/"
Repository = "https://github.com/akaszynski/lsdyna-mesh-reader"
[tool.cibuildwheel]
archs = ["auto64"] # 64-bit only
skip = "cp38-* cp313-* pp* *musllinux*" # 3.9-3.12 and no PyPy and musl-based wheels
test-command = "pytest {project}/tests -v"
test-requires = "pytest pyvista"
[tool.cibuildwheel.macos]
archs = ["native"]
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14" # Needed for full C++17 support on MacOS
[tool.codespell]
ignore-words-list = "POIN,parm"
quiet-level = 3
skip = '*.cxx,*.h,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./doc/build/*,./doc/images/*,./dist/*,*~,.hypothesis*,*.cpp,*.c,*.dat,*.cdb,*.k,*.key'
[tool.mypy]
plugins = ["numpy.typing.mypy_plugin", 'npt_promote']
strict = true
[tool.pylsp-mypy]
enabled = true
live_mode = true
strict = true
[tool.pytest.ini_options]
testpaths = 'tests'
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-select = ["I"]
[tool.scikit-build]
# Setuptools-style build caching in a local directory
build-dir = "build/{wheel_tag}"
minimum-version = "0.4"
sdist.exclude = [".github", "*.png", "tests", ".mypy_cache", ".pre-commit-config.yaml", "*_cache", "CONTRIBUTING.md", ".gitignore"]
sdist.include = ["*.cpp"]