-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
73 lines (63 loc) · 2.17 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
[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 = [
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"numpy",
"pyvista>=0.37.0",
'pykdtree',
]
description = "Uniformly remeshes surface meshes"
keywords = ["vtk", "uniform", "meshing", "remeshing", "acvd"]
name = "pyacvd"
readme = "README.rst"
requires-python = ">=3.9"
url = "https://github.com/pyvista/pyacvd"
version = "0.4.dev0"
[tool.cibuildwheel]
archs = ["auto64"] # 64-bit only
skip = "cp38-* cp313-* pp* *musllinux*" # build Python 3.9 - Python 3.13
test-command = "pytest {project}/tests"
test-requires = "pytest"
test-skip = "*-macosx_arm64"
[tool.cibuildwheel.macos]
archs = ["native"]
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14" # Needed for full C++17 support on MacOS
[tool.codespell]
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'
[tool.mypy]
plugins = ["numpy.typing.mypy_plugin", 'npt_promote']
# disable_error_code = ['assignment', 'index', 'misc']
strict = true
[tool.pytest.ini_options]
filterwarnings = [
# bogus numpy ABI warning (see numpy/#432)
"ignore:.*numpy.dtype size changed.*:RuntimeWarning",
"ignore:.*numpy.ufunc size changed.*:RuntimeWarning"
]
junit_family = "legacy"
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"]