From 3373f5c086238f40457f327e6feb397e4339879d Mon Sep 17 00:00:00 2001 From: yanghaoqi Date: Fri, 20 Sep 2024 16:46:39 +0800 Subject: [PATCH] remove debug code --- .github/workflows/compiler-python-release.yml | 7 ------- pyproject.toml | 5 ++++- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compiler-python-release.yml b/.github/workflows/compiler-python-release.yml index 87e3f246f6..78a33892bb 100644 --- a/.github/workflows/compiler-python-release.yml +++ b/.github/workflows/compiler-python-release.yml @@ -87,13 +87,6 @@ jobs: with: python-version: 3.8 - - name: Start tmate session for debugging - uses: mxschmitt/action-tmate@v3 - continue-on-error: true - - # 例如,如果编译失败,可以通过SSH进行调试 - - run: echo "Run after tmate session" - - name: Install cibuildwheel run: pip install cibuildwheel diff --git a/pyproject.toml b/pyproject.toml index 2a959a164c..06930ad3ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,10 +42,13 @@ PYTHONPATH = "{project}/tests:$PYTHONPATH" [tool.cibuildwheel.windows] archs = ["AMD64"] +before-build = [ + "if exist %PROJECT%\\CMakeUserPresets.json del %PROJECT%\\CMakeUserPresets.json", + "pip install auditwheel==6.0.0" +] [tool.cibuildwheel.linux] archs = ["x86_64"] - before-build = [ "rm -f {project}/CMakeUserPresets.json", "pip install auditwheel==6.0.0",