File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ cp version_info.py "${TEMP_BUILD_DIR}/" 2>/dev/null || true
140140
141141# 임시 디렉토리에서 빌드 실행
142142cd " ${TEMP_BUILD_DIR} "
143+ # 환경 변수로 spec 파일 생성 방지
144+ export PYINSTALLER_COMPILE_BOOTLOADER=0
145+
143146pyinstaller \
144147 --name " ${APP_NAME} " \
145148 --windowed \
@@ -193,9 +196,20 @@ if [[ $? -ne 0 ]]; then
193196 sudo rm -rf dist build * .spec __pycache__ .pytest_cache 2> /dev/null || true
194197 sudo rm -rf ~ /.cache/pip ~ /.cache/pyinstaller 2> /dev/null || true
195198 sudo rm -rf /tmp/pip-* /tmp/_MEI* /tmp/pyinstaller* 2> /dev/null || true
199+
200+ # 임시 빌드 디렉토리 정리
201+ sudo rm -rf /tmp/vibeculling_* 2> /dev/null || true
202+
203+ # PySide6 관련 심볼릭 링크 특별 정리
204+ sudo find . -path " */PySide6/Qt/lib/*.framework/Resources" -type l -delete 2> /dev/null || true
205+ sudo find . -path " */PySide6/Qt/lib/*.framework/Versions/Current" -type l -delete 2> /dev/null || true
206+
196207 find . -type l -delete 2> /dev/null || true
197208 find . -name " *.pyc" -delete 2> /dev/null || true
198209
210+ # PyInstaller 작업 디렉토리 강제 정리
211+ sudo rm -rf /tmp/pyinstaller_* 2> /dev/null || true
212+
199213 # 작업 디렉토리 새로 생성
200214 mkdir -p dist build
201215
@@ -212,6 +226,10 @@ if [[ $? -ne 0 ]]; then
212226
213227 # 임시 디렉토리에서 재시도 빌드 실행
214228 cd " ${RETRY_TEMP_BUILD_DIR} "
229+
230+ # 환경 변수로 spec 파일 생성 방지
231+ export PYINSTALLER_COMPILE_BOOTLOADER=0
232+
215233 pyinstaller \
216234 --name " ${APP_NAME} " \
217235 --windowed \
You can’t perform that action at this time.
0 commit comments