■ 현재-ing/ㅡPython

Python 3.8.10 설치 시 exe 파일 크기를 최소화

with seok 2025. 1. 19. 21:10

Python 3.8.10 설치 시 exe 파일 크기를 최소화하기 위해 다음과 같이 선택하는 것을 추천드립니다:

1. **필수 선택 항목**:
   - "Add Python 3.8 to PATH" 체크박스 ✅ 반드시 선택
   - "Install launcher for all users (recommended)" 체크박스 ✅ 선택

2. **설치 옵션 선택** (Custom Installation 선택 시):
   - Documentation - ❌ 체크 해제 (문서는 exe에 포함될 필요 없음)
   - pip - ✅ 체크 (패키지 설치에 필요)
   - tcl/tk and IDLE - ✅ 체크 (GUI 관련)
   - Python test suite - ❌ 체크 해제 (테스트 suite는 불필요)
   - py launcher - ✅ 체크
   - for all users - ✅ 체크

3. **Advanced Options**:
   - Install for all users - ✅ 체크
   - Associate files with Python - ✅ 체크
   - Create shortcuts for installed applications - ✅ 체크
   - Add Python to environment variables - ✅ 체크
   - Precompile standard library - ❌ 체크 해제 (exe 크기 증가 방지)
   - Download debugging symbols - ❌ 체크 해제 (불필요)
   - Download debug binaries - ❌ 체크 해제 (불필요)

728x90