Skip to content

Commit b2c2b3e

Browse files
committed
Fix issue with tests
1 parent 5c2fdee commit b2c2b3e

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,5 @@ cython_debug/
139139
.vscode/
140140
*.jpg
141141
test.ipynb
142-
**/nms/*.c
142+
**/nms/*.c
143+
wheelhouse/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pip install -r ./requirements.dev.txt
3131
You need C compiler to compile extension. [See](https://docs.cython.org/en/latest/src/quickstart/install.html#installing-cython)
3232

3333
```
34-
python -m build --no-isolation -w
34+
python -m cibuildwheel --platform <your_platform>
3535
```
3636

3737
Install binary distribution:

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,6 @@ upload_to_vcs_release = false
8686
[tool.cibuildwheel]
8787
test-requires = "pytest"
8888
test-command = "pytest {project}/tests"
89-
skip = ["*-win32", "*-manylinux_i686", "pp*", '*_arm64']
90-
before-build = "pip install -r ./requirements.inference.txt -r ./requirements.torch.cpu.txt"
89+
before-test = "pip install -r ./requirements.inference.txt -r ./requirements.torch.cpu.txt"
90+
build = "cp39-*"
91+
skip = ["*-win32", "*-manylinux_i686", "pp*", '*_arm64', "*-musllinux_*"]

requirements.inference.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
opencv-python-headless>=4.7.0.0
2-
onnxruntime-gpu>=1.11.0
2+
onnxruntime>=1.11.0
33
matplotlib~=3.7

0 commit comments

Comments
 (0)