Skip to content

Commit

Permalink
Fix issue with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KernelA committed Aug 26, 2023
1 parent 5c2fdee commit b2c2b3e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,5 @@ cython_debug/
.vscode/
*.jpg
test.ipynb
**/nms/*.c
**/nms/*.c
wheelhouse/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pip install -r ./requirements.dev.txt
You need C compiler to compile extension. [See](https://docs.cython.org/en/latest/src/quickstart/install.html#installing-cython)

```
python -m build --no-isolation -w
python -m cibuildwheel --platform <your_platform>
```

Install binary distribution:
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ upload_to_vcs_release = false
[tool.cibuildwheel]
test-requires = "pytest"
test-command = "pytest {project}/tests"
skip = ["*-win32", "*-manylinux_i686", "pp*", '*_arm64']
before-build = "pip install -r ./requirements.inference.txt -r ./requirements.torch.cpu.txt"
before-test = "pip install -r ./requirements.inference.txt -r ./requirements.torch.cpu.txt"
build = "cp39-*"
skip = ["*-win32", "*-manylinux_i686", "pp*", '*_arm64', "*-musllinux_*"]
2 changes: 1 addition & 1 deletion requirements.inference.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
opencv-python-headless>=4.7.0.0
onnxruntime-gpu>=1.11.0
onnxruntime>=1.11.0
matplotlib~=3.7

0 comments on commit b2c2b3e

Please sign in to comment.