-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
53 lines (46 loc) · 964 Bytes
/
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
[build-system]
requires = ["setuptools>=46",
"setuptools_scm[toml]>=3.4",
"wheel",
"pybind11>=2.8",
"numpy>1.17",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = 'src/nuspacesim/_version.py'
version_scheme = 'post-release'
local_scheme = 'no-local-version'
parentdir_prefix_version = 'nuspacesim-'
[tool.cibuildwheel]
test-requires = "pytest"
test-command = "pytest {project}/test"
[tool.cibuildwheel.macos]
archs = ["x86_64"] #, "universal2", "arm64"]
[tool.cibuildwheel.linux]
archs = ["x86_64"]
[tool.black]
line-length = 88
skip-string-normalization = false
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| _version.py
)/
)
'''
[tool.autopep8]
max_line_length = 88
ignore = "E501,W6" # or ["E501", "W6"]
[tool.isort]
profile = "black"