Skip to content

The only downloader you need. 下载器的集大成者。

fix(ci): cibuildwheel 在 libtorrent 源码目录中运行

XiaoYouChRfb1c35db7d35
diff --git a/scripts/build_libtorrent_wheel.py b/scripts/build_libtorrent_wheel.py
index 398b4e2c..c1ee5ecf 100644
--- a/scripts/build_libtorrent_wheel.py
+++ b/scripts/build_libtorrent_wheel.py
@@ -42,7 +42,7 @@ def main() -> None:
"CIBW_BEFORE_ALL_WINDOWS": "bash -c './tools/cibuildwheel/setup_boost.sh $BOOST_VERSION $BOOST_ROOT'",
"CIBW_TEST_SKIP": "*",
}
- run("uvx", "cibuildwheel", "--output-dir", str(Path(outputFolder).resolve()), str(source), env=env)
+ run("uvx", "cibuildwheel", "--output-dir", str(Path(outputFolder).resolve()), cwd=source, env=env)
if __name__ == "__main__":