forked from neuromti/tool-libeep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (48 loc) · 1.37 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
[project]
name = "libeep"
version = "0.1.0"
description = ""
authors = [{ name = "Robert Smies", email = "[email protected]" },
{ name = "Steffen Heimes", email = "[email protected]" },
{ name = "Velko Hristov", email = "[email protected]" }]
readme = "README.md"
# Older versions are out of support starting from 2024-10 or earlier.
requires-python = ">=3.9"
[project.optional-dependencies]
test = [
"pytest>=8.3.2",
"pytest-cov>=5.0.0",
"numpy>=2.0.0",
]
[tool.meson-python.args]
# Use MSVC on windows, some assumptions in the code re: windows are not
# working with GCC.
setup = ['--vsenv']
[tool.cibuildwheel]
skip = [
# Don't bother (for now) with the win32 build, mesonpy was complaining it can't the right python.
# 64 bit is fine, though.
"*-win32",
]
test-extras = ["test"]
# {project} is replaced with the project root directory, aka "." running locally.
test-command = "pytest {project}"
test-skip = [
"*_i686", # No precompiled numpy there sometimes, and the build is slow. And tends to fail.
]
[tool.pytest.ini_options]
testpaths = "pytests"
addopts = "--cov=libeep -r a -v"
[tool.ruff]
target-version = "py39"
exclude = [
"oldeep.py", # Keep the old api unchanged for now
]
[tool.ruff.lint]
select = ["N"]
fixable = ["ALL"]
[tool.ruff.format]
line-ending = "lf"
[build-system]
build-backend = 'mesonpy'
requires = ['meson-python']