From 4c01393891e66ee32e56f91215f40dadb55a614d Mon Sep 17 00:00:00 2001 From: kjh2064 Date: Sat, 13 Jun 2026 20:40:48 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=ED=91=9C=EC=A4=80=20=EB=9D=BC=EC=9D=B4?= =?UTF-8?q?=EB=B8=8C=EB=9F=AC=EB=A6=AC=20distutils=EC=97=90=20cygwinccompi?= =?UTF-8?q?ler.py,=20msvccompiler.py=20stub=20=EC=83=9D=EC=84=B1=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bf222f2..3638ffb 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -34,7 +34,16 @@ jobs: fi export PATH=$HOME/.local/bin:$PATH python3 -c "import platform, sys; print('[ENV_DEBUG] Platform:', platform.platform(), 'Python:', sys.version)" - python3 -c "import distutils, distutils.cygwinccompiler; print('[ENV_DEBUG] distutils path:', distutils.__file__)" + + # distutils 누락 stub 파일 생성 + DISTUTILS_PATH=$(python3 -c "import distutils, os; print(os.path.dirname(distutils.__file__))") + echo "[ENV_DEBUG] distutils directory: $DISTUTILS_PATH" + touch "$DISTUTILS_PATH/cygwinccompiler.py" + touch "$DISTUTILS_PATH/msvccompiler.py" + + # 임포트 성공 확인 + python3 -c "import distutils, distutils.cygwinccompiler, distutils.msvccompiler; print('[ENV_DEBUG] distutils stub path:', distutils.__file__)" + python3 -m pip install --upgrade pip --user --quiet python3 -m pip install --upgrade --force-reinstall "setuptools==59.6.0" "wheel" "Cython" --user --quiet python3 -c "import setuptools; print('[ENV_DEBUG] installed setuptools:', setuptools.__version__)"