forked from kyamagu/faiss-wheels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
33 lines (29 loc) · 1.19 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"numpy==1.13.3; python_version<'3.5'",
"oldest-supported-numpy; python_version>='3.5'",
]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
"-s",
"-v",
"--deselect=faiss/tests/test_contrib.py::TestComputeGT::test_compute_GT",
"--deselect=faiss/tests/test_contrib.py::TestBigBatchSearch::test_checkpoint",
"--deselect=faiss/tests/test_local_search_quantizer.py::TestProductLocalSearchQuantizer::test_lut",
"--deselect=faiss/tests/test_residual_quantizer.py::TestIndexIVFProductResidualQuantizer::test_index_accuracy",
"--deselect=faiss/tests/test_residual_quantizer.py::TestIndexIVFProductResidualQuantizer::test_index_accuracy2",
"--deselect=faiss/tests/test_standalone_codec.py::TestEncodeDecode::test_RQ6x8",
]
testpaths = ["faiss/tests"]
[tool.cibuildwheel]
skip = "cp36-* pp* *-musllinux*"
test-skip = "*-macosx_arm64 *-manylinux_aarch64"
test-requires = ["pytest", "scipy"]
test-command = "pytest {project}/faiss/tests"
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -v -w {dest_dir} {wheel}"