Skip to content

Commit

Permalink
[CI:Sync] Sync linux pyproject.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhaode committed Feb 24, 2025
1 parent 27aaf79 commit 34af1a2
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions pymnn/pip_package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,6 @@ requires = [

build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
test-skip = [
"cp36-*",
"*-macosx_arm64",
"*-macosx_x86_64"
]
test-requires = [
"opencv-python",
"numpy",
"torch"
]
test-command = [
"cd {project}/pymnn/test",
"ls",
"python unit_test.py",
"cd ../.."
]

[tool.cibuildwheel.macos]
archs = ["native"]
build = "cp*-macosx_*"
Expand All @@ -48,17 +30,12 @@ archs = ["native"]
repair-wheel-command = [
"export LD_LIBRARY_PATH=$(pwd)/pymnn_build/tools/converter/libtorch/lib:$LD_LIBRARY_PATH",
"echo $LD_LIBRARY_PATH",
"auditwheel repair --plat manylinux2014_x86_64 -w {dest_dir} {wheel}"
"auditwheel repair -w {dest_dir} {wheel}"
]

[tool.cibuildwheel.windows]
before-all = [
"cd pymnn/pip_package",
"python3 build_deps.py",
"cd ../.."
]
test-command = [
"cd /d {project}/pymnn/test",
"python unit_test.py",
"cd ../.."
]
]

0 comments on commit 34af1a2

Please sign in to comment.