-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
49 lines (43 loc) · 1.24 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
[build-system]
requires = [
"setuptools >= 40.6.0",
"wheel",
"numpy==1.13.3; python_version<'3.5'",
"oldest-supported-numpy; python_version>='3.5'",
]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
skip = "pp* cp2* cp33* cp34* cp35* cp36* *musllinux* cp310-manylinux_ppc64le cp311-manylinux_ppc64le"
test-skip = "cp310-win32 cp310-manylinux_i686 cp311-win32 cp311-manylinux_i686 *ppc64le"
test-requires = ["pytest", "flaky"]
test-command = "ygginfo && pytest -m subset_rapidjson --import-mode=importlib {project}/tests"
before-test = "pip install --only-binary=numpy,scipy,matplotlib,contourpy numpy scipy matplotlib"
# [tool.cibuildwheel.linux]
# before-all = "yum install -y openblas-devel"
# [[tool.cibuildwheel.overrides]]
# select = "cp3{7,8,9,10,11}-manylinux_i686"
# before-all = ""
# [[tool.cibuildwheel.overrides]]
# select = "cp3{7,8,9,10,11}-manylinux_ppc64le"
# before-test = "pip install --only-binary=numpy numpy"
# before-all = "yum install -y openblas-devel"
[tool.black]
line-length = 88
target-version = ['py27', 'py36', 'py37', 'py38']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| examples
| rapidjson
| _version\.py
)/
'''