From a92b861ccdaf7d7902648664d6e2fa64ea46ff6e Mon Sep 17 00:00:00 2001
From: QwejayHuang
Date: Sun, 2 Aug 2026 21:01:52 +0800
Subject: [PATCH] v2.7.2: refactor Nuitka C compiler selection and update docs
---
CHANGELOG.md | 12 ++++++
CHANGELOG_EN.md | 12 ++++++
README.md | 67 ++++++++++++++++-----------------
README_EN.md | 77 ++++++++++++++++++--------------------
qpypack/locales/de_DE.json | 16 +++++---
qpypack/locales/es_ES.json | 16 +++++---
qpypack/locales/fr_FR.json | 20 ++++++----
qpypack/locales/ja_JP.json | 16 +++++---
qpypack/locales/ko_KR.json | 16 +++++---
qpypack/locales/pt_BR.json | 16 +++++---
qpypack/locales/ru_RU.json | 12 +++++-
qpypack/locales/zh_TW.json | 12 +++++-
qpypack/main.py | 55 ++++++++++++++++++++-------
qpypack/requirements.txt | 4 --
14 files changed, 217 insertions(+), 134 deletions(-)
delete mode 100644 qpypack/requirements.txt
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3b3fc4..e22c751 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,18 @@ QPyPack 项目的所有重要变更都将记录在此文件中。
[English Version](./CHANGELOG_EN.md) | **中文**
+---
+## [2.7.2] - 2026-08-03
+
+### 核心改进
+* **编译器选择策略调整**:取消之前对 Python 3.13+ 强行硬编码/限制使用 Zig 编译器的逻辑。改由优化后的自适应探测策略:优先检测本地 MSVC / Clang / GCC(MinGW64) 环境,若均未检测到,则转由 Nuitka 自动检测并托管下载兼容的 MinGW-w64 C 编译器工具链。
+* **更新 Python 平台兼容性矩阵**:修正设置面板中 Python 解释器选择器的平台指示卡片,更加准确地反映 Nuitka C 后端编译器的自动选择与托管能力。
+* **优化构建日志与提示**:当未检测到本地 C 编译器时,显示下载 MinGW-w64 提示;增加对本地编译器的显式识别与反馈。
+* **界面提示微调**:优化附加资源列表提示,引导用户使用“导出预设”进行资源配置复用;简化临时目录选项文本,提升 UI 简洁度。
+* **恢复默认依赖目录**:将 PyInstaller 单目录模式的依赖文件夹名称恢复为官方默认的 `_internal`,方便同类软件合并放置以共用运行库,减少磁盘占用。
+* **优化交互状态保持**:拖入新脚本或重置工作区时,不再清空用户已配置的“自定义输出目录”,提升连续打包时的操作体验。
+
+
---
## [2.7.1] - 2026-08-02
diff --git a/CHANGELOG_EN.md b/CHANGELOG_EN.md
index 77256bb..02694c0 100644
--- a/CHANGELOG_EN.md
+++ b/CHANGELOG_EN.md
@@ -8,6 +8,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
**English** | [中文版](./CHANGELOG.md)
---
+## [2.7.2] - 2026-08-03
+
+### Key Improvements
+* **Compiler Selection Strategy Refactored**: Removed hardcoded Zig compiler forcing for Python 3.13+. Prioritizes local MSVC / Clang / GCC(MinGW64) environments; falls back to Nuitka auto-detection and toolchain download if none are found.
+* **Updated Compatibility Matrix**: Refined interpreter status cards to accurately reflect Nuitka's adaptive C compiler detection capabilities.
+* **Enhanced Build Prompts**: Displays MinGW-w64 auto-download notices when no local compiler is found; adds explicit detection feedback for local compilers.
+* **UI Polish**: Updated resource list tooltips to recommend saving via "Export Preset"; simplified temporary directory selection labels.
+* **Restored Default Dependency Directory**: Reverted PyInstaller's one-dir dependency folder name back to the official default (`_internal`), allowing packaged apps to share runtime libraries and reduce disk footprint.
+* **State Persistence Optimized**: The custom output directory setting is no longer cleared when loading a new script or resetting the workspace, improving the workflow for continuous packaging.
+
+---
+
## [2.7.1] - 2026-08-02
### Added
diff --git a/README.md b/README.md
index 3fc1c64..6b0cfb0 100644
--- a/README.md
+++ b/README.md
@@ -13,10 +13,6 @@
Português
-
- 基于 PyInstaller 与 Nuitka 的跨平台 Python 应用可视化打包构建工具
-
-
@@ -47,11 +43,33 @@
-
+
-QPyPack 是一款致力于简化 Python 应用打包流程的可视化工具。它深度整合了 **PyInstaller** 与 **Nuitka** 两大主流编译引擎,将繁琐的终端命令行参数转化为直观、极简的图形界面交互,帮助开发者高效、高成功率地生成跨平台原生可执行程序。
+---
+
+
+ 🚀 “只需拖入 Python 代码,剩下的交给 QPyPack!”
+
+
+ Drag, drop, and build — QPyPack takes care of the rest!
+
+
+## 💡 QPyPack 是什么?
+
+QPyPack 是一款现代化的跨平台 Python 打包工具。它深度整合 **PyInstaller** 与 **Nuitka** 双核心打包引擎,将极其繁琐复杂的终端命令行参数与环境配置,转化为极简、直观、高成功的图形界面体验。
+
+无论你是打包简单的脚本工具,还是包含复杂依赖(如 PySide/PyQt, Playwright, CustomTkinter, MoviePy 等)的项目,QPyPack 都能助你轻松生成纯净、高效的跨平台原生可执行文件。
+
+---
+
+## 🌟 为什么选择 QPyPack?
+
+* **告别噩梦般的命令行**:无需再记忆繁琐的 `--hidden-import`、`--add-data` 路径分隔符和参数格式。
+* **零门槛 C/C++ 编译器集成**:自动嗅探本地 MSVC、Clang 或 GCC 环境;缺失时免交互自动托管下载 MinGW-w64 工具链,无需手动配置环境变量。
+* **告别运行时 `ModuleNotFoundError`**:首创“三重依赖安全网”(Requirements + 原生 AST 语法树扫描 + pipreqs),精准补全隐式依赖。
+* **告别打包崩溃与中间死锁**:自动评估物理内存,自带内存溢出(OOM)自愈重试、杀软图标锁定剥离重构建及 Temp 防锁沙盒。
---
@@ -71,34 +89,15 @@ QPyPack 是一款致力于简化 Python 应用打包流程的可视化工具。
## 🚀 核心特性 (Key Features)
-QPyPack 旨在解决传统命令行打包配置繁琐、依赖遗漏、跨平台兼容性差以及编译失败率高的问题:
-
-### 1. 现代化 UI 与直观交互体验
-* 📥 **拖放式载入 (Drag & Drop)**:只需将 `.py` 或 `.pyw` 源代码文件拖入窗口,系统全自动完成解析与工作区初始化。
-* 🎨 **纯矢量图标栈 (Material Design SVG)**:全界面采用 Google Material 矢量图标,全面清理 Emoji 表情,彻底杜绝跨平台系统下字体回退导致的排版乱码与跳动。
-* 🌐 **智能多语言 (i18n)**:原生支持简体中文、繁体中文、英文、德语、法语、日语、韩语等全球主流语言,自动识别系统首选语言并支持无缝切换。
-* 📊 **双模式实时日志查看器**:引入“精简模式 (Concise)”与“详细模式 (Detailed)”双视图日志面板,支持实时捕获编译引擎极细粒度的编译进度、一键导出与高亮提示。
-
-### 2. 双编译后端与智能环境嗅探
-* ⚙️ **PyInstaller & Nuitka 架构**:图形化界面一键切换引擎,根据所选引擎自适应提供针对性的优化选项与参数控制。
-* 🔍 **C/C++ 编译器智能嗅探**:Nuitka 引擎下自动探测系统内已安装的 **MSVC**、**Clang** (LLVM) 及 **Zig**(专为 Python 3.13+ C 后端优化)编译器并优先调用,免除繁琐的环境变量设置。
-* 💻 **Python 平台兼容性卡片**:动态显示当前选中 Python 解释器对 Windows 7/8/10/11、macOS 及 Linux 的支持状态,并提供官方下载引导。
-
-### 3. 三重安全依赖网与零配置预设
-* 🛡️ **隔离虚拟沙盒 (Virtualenv Sandbox)**:一键在系统临时目录创建纯净构建沙盒,避免全局环境污染,极大精简产物体积。
-* 🔍 **多维依赖自动补全**:优先读取 `requirements.txt`;搭配深度原生 **AST(静态语法树)** 扫描引擎与 `pipreqs`,精准补齐隐式导入(Hidden Imports)。
-* 📦 **免配置第三方库打包预设**:内置对 `ttkbootstrap`、`customtkinter`、`playwright`、`moviepy` 等高频缺失/报错库的自动化打包处理,实现零配置一键生成。
-* ⚡ **多源 PIP 镜像与备用切源**:内置主流镜像加速源,支持主源超时自动平滑切换至备用源。
-
-### 4. 强健的构建容错与自愈降级
-* 📏 **编译前物理资源评估**:自动评估物理内存与磁盘可用空间,智能调整并发 CPU 核心数。
-* 🛡️ **OOM 溢出自愈**:构建过程中遭遇 `ZstdError`(内存溢出)时,自动触发单线程 (`--jobs=1`) 降级重试。
-* 🛡️ **图标锁定抗性**:遭遇杀毒软件或系统锁定图标文件时,自动触发剥离图标参数自愈构建,保障二进制产物顺利生成。
-* ☁️ **云盘锁定预警**:前置感知识别 OneDrive / Dropbox 等云盘对文件的锁定同步状态并提供明确排查提示。
-
-### 5. 资源管理与应用元数据
-* 📝 **PE / Plist 元数据注入**:直接在界面设定版本号、公司名、产品描述,全自动写入 Windows PE VersionInfo 或 macOS `Info.plist` 结构。
-* 📂 **可视化附加资源管理**:提供列表化界面管理附加文件与文件夹,支持双击直接编辑打包后的相对释放路径(自适应路径映射)。
+- ✨ **极简拖拽,即刻启程**:拖入 `.py` 或 `.pyw` 源代码,全自动完成应用元数据解析、工作区初始化与图标匹配。
+- ⚙️ **双打包引擎自由切换**:
+ - **PyInstaller**:打包速度快,兼容性极佳,零 C 编译器依赖。
+ - **Nuitka**:将源码编译为原生 C/C++ 二进制,体积更小、运行更快、代码深度抗反编译。
+- 🔍 **C/C++ 编译器智能托管**:优先调用本地 MSVC、Clang (LLVM) 或 GCC;未检测到本地编译器时,由 Nuitka 自动托管下载兼容的 MinGW-w64 编译器。
+- 🛡️ **三重依赖防护网**:融合 `requirements.txt`、原生 **AST 静态语法树** 扫描与 `pipreqs`,智能捕获所有隐式导入(Hidden Imports)。
+- 📦 **复杂第三方库零配置预设**:内置对 `ttkbootstrap`、`customtkinter`、`playwright`、`moviepy` 等高频报错/遗漏资源库的自动 Hooks 拦截与资源收集。
+- 🛡️ **防锁沙盒与自愈机制**:构建前物理资源评估,捕获内存溢出(OOM/ZstdError)自动降低并发重试,支持 Temp 目录防锁隔离,解决 OneDrive/杀软锁文件导致的构建中断。
+- 🎨 **纯矢量 UI & 多语言支持**:全界面基于 Google Material SVG 矢量图标,完美适配高分屏缩放;原生支持中、英、日、韩、德、法等全球多语言无缝切换。
---
diff --git a/README_EN.md b/README_EN.md
index 887605e..d445701 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -13,10 +13,6 @@
Português
-
- A Modern Cross-Platform Python Application Packaging & Compilation Suite Powered by PyInstaller and Nuitka
-
-
@@ -47,58 +43,57 @@
-
+
-QPyPack is a visual GUI tool designed to simplify Python application packaging workflows. It deeply integrates two major compilation engines—**PyInstaller** and **Nuitka**—converting tedious CLI arguments into an intuitive graphical interface, helping developers generate cross-platform native executables efficiently and reliably.
+---
+
+
+ 🚀 “Drag, drop, and build — QPyPack takes care of the rest!”
+
+
+ 只需拖入 Python 代码,剩下的交给 QPyPack!
+
+
+## 💡 What is QPyPack?
+
+QPyPack is a modern cross-platform Python packaging GUI tool. It deeply integrates **PyInstaller** and **Nuitka** core compilation engines, transforming tedious CLI flags and compiler environment setups into an intuitive, high-success graphical interface experience.
+
+Whether you are bundling lightweight scripts or complex applications (e.g., PySide/PyQt, Playwright, CustomTkinter, MoviePy), QPyPack helps you build standalone, efficient, native cross-platform binaries effortlessly.
+
+---
+
+## 🌟 Why Choose QPyPack?
+
+* **Say Goodbye to CLI Nightmares**: No need to memorize `--hidden-import`, `--add-data` syntax, or path separator variations across OSes.
+* **Zero C/C++ Compiler Friction**: Automatically detects local MSVC, Clang, or GCC environments; downloads and manages MinGW-w64 toolchains seamlessly when none are present.
+* **Eliminate Runtime `ModuleNotFoundError`**: Powered by a "Triple-Layer Safety Net" (`requirements.txt` + Native AST Static Analysis + `pipreqs`) to ensure missing implicit dependencies are automatically resolved.
+* **Resilient Build Execution**: Includes pre-flight memory evaluations, OOM (out-of-memory) fallback retries, antivirus/icon lock recovery, and temp directory sandboxing.
---
## 📷 Screenshots
-
-
-
-
-
-
-
+
+
+
---
## 🚀 Key Features
-QPyPack addresses configuration complexity, missing implicit dependencies, cross-platform glitches, and high compilation failure rates in traditional CLI workflows:
-
-### 1. Modern UI & Intuitive UX
-* 📥 **Drag & Drop Workspace**: Simply drop `.py` or `.pyw` source files into the window; QPyPack will automatically parse and initialize the workspace.
-* 🎨 **Pure Vector Icon Stack (Material Design SVG)**:Cleaned up emoji icons in favor of Google Material SVG vector icons, completely eliminating font fallback issues and alignment glitches across Linux and older Windows systems.
-* 🌐 **Native i18n Support**: Multilingual UI support out-of-the-box (English, Simplified/Traditional Chinese, German, French, Japanese, Korean, etc.) with auto-detection and live switching.
-* 📊 **Dual-Mode Live Log Viewer**: Toggle between "Concise" and "Detailed" log panels with real-time build status tracking, error highlighting, and log export.
-
-### 2. Dual Compilation Backends & Compiler Sniffing
-* ⚙️ **PyInstaller & Nuitka Integration**: Seamlessly switch engines via GUI, with dynamic UI controls that adapt based on the selected backend.
-* 🔍 **Smart Compiler Auto-Detection**: Automatically sniffs and prioritizes system C/C++ compilers for Nuitka, including **MSVC**, **Clang** (LLVM), and **Zig** (optimized for Python 3.13+ C backends).
-* 💻 **Platform Compatibility Matrix**: Real-time status cards displaying OS support (Windows 7/8/10/11, macOS, Linux) for selected Python interpreters with official download shortcuts.
-
-### 3. Robust Dependency Resolution & Zero-Config Presets
-* 🛡️ **Isolated Virtualenv Sandbox**: Create pristine temporary build sandboxes with one click, eliminating global package pollution and minimizing output binary sizes.
-* 🔍 **Triple-Layer Dependency Protection**: Reads `requirements.txt`, runs deep native **AST (Abstract Syntax Tree)** static analysis, and executes `pipreqs` to automatically catch hidden imports.
-* 📦 **Zero-Config Third-Party Presets**: Built-in automated handling for error-prone libraries like `ttkbootstrap`, `customtkinter`, `playwright`, `moviepy`, and more.
-* ⚡ **Multi-Mirror PIP Management**: Integrated PyPI mirror presets with automatic fallback to secondary index sources on network timeout.
-
-### 4. Build Resilience & Self-Healing Fallbacks
-* 📏 **Pre-flight Resource Evaluation**: Assesses available RAM and disk space before build, dynamically adjusting CPU concurrency.
-* 🛡️ **OOM Fallback Recovery**: Automatically triggers single-thread retry mode (`--jobs=1`) when catching `ZstdError` / Out-Of-Memory exceptions.
-* 🛡️ **Antivirus/Icon Lock Resilience**: Automatically strips icon parameters and retries build if icon resource writing is blocked by security software or system locks.
-* ☁️ **Cloud Storage Lock Alerts**: Detects file synchronization locks caused by OneDrive, Dropbox, or other cloud drives and provides clear diagnostic tips.
-
-### 5. Data File Management & Metadata Injection
-* 📝 **PE / Plist Metadata Injection**: Configure version strings, company names, and application descriptions via GUI; automatically writes Windows PE VersionInfo or macOS `Info.plist` bundles.
-* 📂 **Visual Data Files Management**: Manage supplementary files and directories in a structured list with inline double-click editing for relative output destination paths.
+- ✨ **Drag, Drop & Go**: Simply drop `.py` / `.pyw` files; QPyPack auto-parses metadata, matches application icons, and initializes the workspace.
+- ⚙️ **Dual Engines**:
+ - **PyInstaller**: Rapid build speeds, high compatibility, zero compiler setup.
+ - **Nuitka**: Compiles Python source directly to native C/C++ binaries for smaller sizes, faster runtime, and anti-decompilation protection.
+- 🔍 **Seamless C/C++ Compiler Integration**: Auto-detects local MSVC, Clang, or GCC environments, and silently manages MinGW-w64 downloads without manual environment variable setups.)
+- 🛡️ **Triple-Layer Dependency Protection**: Combines `requirements.txt` parsing, native **AST static analysis**, and `pipreqs` to capture hidden imports.
+- 📦 **Zero-Config Presets**: Automated hooks and resource collection for troublesome packages (`ttkbootstrap`, `customtkinter`, `playwright`, `moviepy`, etc.).
+- 🛡️ **Resilient Sandboxing & Fallbacks**: Runs pre-flight RAM/disk checks, retries in single-thread concurrency on OOM/ZstdError, and isolates builds in Temp directories to bypass OneDrive sync locks.
+- 🎨 **Pure Vector UI & i18n**: Rendered with Google Material SVG vector icons with native multi-language support (English, Chinese, Japanese, Korean, German, French, etc.).
---
diff --git a/qpypack/locales/de_DE.json b/qpypack/locales/de_DE.json
index 775509e..d778730 100644
--- a/qpypack/locales/de_DE.json
+++ b/qpypack/locales/de_DE.json
@@ -152,15 +152,10 @@
"[INFO] Installing build environment and project dependencies ({count} packages): {pkgs}": "[INFO] Installiere Abhängigkeiten ({count} Pakete): {pkgs}",
"[INFO] Switching to backup PyPI source for retrieval: {url}": "[INFO] Wechsel zum Backup-PyPI-Spiegelserver: {url}",
"[INFO] Starting {engine} engine to compile binary files...": "[INFO] Starte {engine} für die Kompilierung...",
- "[INFO] Found local MSVC environment, prioritizing native C++ compiler.": "[INFO] MSVC-Umgebung erkannt, bevorzuge nativen C++ Compiler.",
- "[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] Clang-Umgebung erkannt, bevorzuge LLVM Clang Compiler.",
- "[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+ erkannt: Verwende Zig-Compiler (--zig).",
- "[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] Verwende MinGW64-Compiler (--mingw64).",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Evaluiere RAM (Verfügbar: {ram:.1f} GB). Parallelität angepasst: {cores} -> {safe_jobs} ...",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] Entferne Icon-Parameter und baue neu...",
"[INFO] Writing application icon...": "[INFO] Schreibe Anwendungssymbol...",
"[INFO] Application icon written successfully.": "[INFO] Anwendungssymbol erfolgreich geschrieben.",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] Lite-Modus aktiv, schließe unwichtige Module aus...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Nuitka-Optimierungen aktiviert...",
"[INFO] Compilation completed, archiving built files...": "[INFO] Kompilierung abgeschlossen, archiviere Dateien...",
"[INFO] Validating output files and generating final product...": "[INFO] Validiere Ausgabedateien und erstelle Produkt...",
@@ -223,5 +218,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "Kein Python gefunden!
Bitte installieren Sie Python (mit 'Add to PATH').",
"Download Python": "Python herunterladen",
"Unknown": "Unbekannt",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Python-Skript (.py/.pyw) hierher ziehen\noder Klicken zum Durchsuchen..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Python-Skript (.py/.pyw) hierher ziehen\noder Klicken zum Durchsuchen...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "System-Temp-Verzeichnis (Anti-Lock / Cloud-freundlich)",
+ "Cancel": "Abbrechen",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "Doppelklick zum Bearbeiten; Drag & Drop unterstützt. Nutzen Sie 'Voreinstellung exportieren' zum Speichern.",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] Lokale GCC/MinGW-w64-Umgebung gefunden, MinGW64-Compiler wird verwendet.",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] Lokale Zig-Umgebung gefunden, Nuitka übernimmt die C-Backend-Kompilierung.",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] Kein lokaler C-Compiler erkannt. Nuitka wird automatisch eine kompatible MinGW-w64-Toolchain herunterladen und verwalten.",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] Lite-Modus aktiviert, Bytecode-Optimierung (-OO) wird angewendet und Entwicklermodule entfernt...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] E/A-Ausnahme: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka Automatische Erkennung und Verwaltung des C-Backend-Compilers"
}
diff --git a/qpypack/locales/es_ES.json b/qpypack/locales/es_ES.json
index c51819b..0d8f60a 100644
--- a/qpypack/locales/es_ES.json
+++ b/qpypack/locales/es_ES.json
@@ -152,15 +152,10 @@
"[INFO] Installing build environment and project dependencies ({count} packages): {pkgs}": "[INFO] Instalando dependencias ({count} paquetes): {pkgs}",
"[INFO] Switching to backup PyPI source for retrieval: {url}": "[INFO] Cambiando al índice PyPI secundario: {url}",
"[INFO] Starting {engine} engine to compile binary files...": "[INFO] Iniciando motor {engine} para la compilación...",
- "[INFO] Found local MSVC environment, prioritizing native C++ compiler.": "[INFO] Entorno MSVC local detectado, priorizando el compilador C++ nativo.",
- "[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] Entorno Clang local detectado, priorizando el compilador LLVM Clang.",
- "[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+ detectado: Usando el compilador Zig (--zig) como backend C.",
- "[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] Usando el compilador MinGW64 (--mingw64) como backend C.",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Evaluando memoria física (Disponible: {ram:.1f} GB). Concurrencia ajustada: {cores} -> {safe_jobs} ...",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] Despojando parámetros de icono y reconstruyendo...",
"[INFO] Writing application icon...": "[INFO] Escribiendo icono de la aplicación...",
"[INFO] Application icon written successfully.": "[INFO] Icono de la aplicación escrito con éxito.",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] Modo ligero activado, excluyendo módulos no esenciales...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Aplicando directivas de optimización de Nuitka...",
"[INFO] Compilation completed, archiving built files...": "[INFO] Compilación finalizada, extrayendo y archivando archivos...",
"[INFO] Validating output files and generating final product...": "[INFO] Validando archivos de salida y generando producto final...",
@@ -223,5 +218,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "¡No se detectó Python en su sistema!
Se requiere un entorno Python.
Descárguelo e instálelo (recuerde marcar 'Add Python.exe to PATH').",
"Download Python": "Descargar Python",
"Unknown": "Desconocido",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Arrastra y suelta el script (.py/.pyw) aquí\no Haz clic para buscar..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Arrastra y suelta el script (.py/.pyw) aquí\no Haz clic para buscar...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "Directorio temporal del sistema (Anti-bloqueo / Compatible con la nube)",
+ "Cancel": "Cancelar",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "Doble clic para editar la ruta; Admite arrastrar y soltar. Use 'Exportar ajustes' para guardar y reutilizar.",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] Entorno GCC/MinGW-w64 local detectado, usando el compilador MinGW64.",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] Entorno Zig local detectado, Nuitka gestionará la compilación del backend C.",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] No se detectó compilador C local. Nuitka descargará y gestionará automáticamente un conjunto de herramientas MinGW-w64 compatible.",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] Modo ligero activado, aplicando optimización de bytecode (-OO) y eliminando módulos de desarrollo...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] Excepción de E/S: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka Detectando y gestionando automáticamente el compilador backend C"
}
diff --git a/qpypack/locales/fr_FR.json b/qpypack/locales/fr_FR.json
index 62b1761..d875eaf 100644
--- a/qpypack/locales/fr_FR.json
+++ b/qpypack/locales/fr_FR.json
@@ -110,7 +110,7 @@
"Analyze Dependencies (pipreqs)": "Analyser les dépendances (pipreqs)",
"Scan Entire Folder": "Analyser l'ensemble du dossier",
"Enable UPX Compression": "Activer la compression UPX",
- "Lite Mode (Exclude Dev/Test Dependencies)": "Mode allégé (Exclure les dépendances dev/test)",
+ "Lite Mode (Exclude Dev/Test Dependencies)": "Mode allégé (Excluir les dépendances dev/test)",
"Concise Log Output": "Sortie de journal concise",
"Auto-save Build Log": "Sauvegarder le journal",
"Auto Extract Icon": "Extraire automatiquement l'icône",
@@ -125,7 +125,7 @@
"Dynamically exclude redundant dependencies in build environment, improving speed and reducing size.": "Exclut les dépendances inutiles pour réduire la taille et accélérer la compilation.",
"Double-click to edit target path; Drag & drop supported": "Double-cliquez pour modifier le chemin; Glisser-déposer pris en charge",
"PyInstaller — Bundles Python interpreter and bytecode. Fast build speed, zero configuration (no C compiler needed), and excellent compatibility.": "PyInstaller — Vitesse de compilation rapide et excellente compatibilité.",
- "Nuitka — Compiles source code into native C/C++ binary. Produces smaller package size, faster execution, and deep anti-decompilation protection (requires C compiler).": "Nuitka — Compile en C/C++ natif. Meilleures performances et protège le code source.",
+ "Nuitka — Compiles source code into native C/C++ binary. Produces smaller package size, faster execution, and deep anti-decompilation protection (requires C compiler).": "Nuitka — Compile en C/C++ nativo. Meilleures performances et protège le code source.",
"✔ Windows 7 ✔ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux
Legacy OS Full backward compatibility": "✔ Windows 7 ✔ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux
OS Hérités Rétrocompatibilité totale",
"✖ Windows 7 ✔ Windows 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux": "✖ Windows 7 ✔ Windows 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux",
"✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka MinGW64 supported out-of-the-box": "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Support de MinGW64 intégré",
@@ -152,15 +152,10 @@
"[INFO] Installing build environment and project dependencies ({count} packages): {pkgs}": "[INFO] Installation des dépendances ({count} paquets) : {pkgs}",
"[INFO] Switching to backup PyPI source for retrieval: {url}": "[INFO] Basculement vers l'index PIP secondaire : {url}",
"[INFO] Starting {engine} engine to compile binary files...": "[INFO] Démarrage du moteur {engine} pour la compilation...",
- "[INFO] Found local MSVC environment, prioritizing native C++ compiler.": "[INFO] Environnement MSVC détecté, utilisation du compilateur C++ natif.",
- "[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] Environnement Clang détecté, utilisation du compilateur LLVM Clang.",
- "[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+ détecté : Utilisation de Zig (--zig).",
- "[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] Utilisation de MinGW64 (--mingw64).",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Évaluation de la mémoire (Libre : {ram:.1f} Go). Concurrence ajustée : {cores} -> {safe_jobs} ...",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] Suppression des paramètres de l'icône et recompilation...",
"[INFO] Writing application icon...": "[INFO] Écriture de l'icône de l'application...",
"[INFO] Application icon written successfully.": "[INFO] Icône écrite avec succès.",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] Mode allégé activé, exclusion des modules inutiles...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Directives d'optimisation Nuitka activées...",
"[INFO] Compilation completed, archiving built files...": "[INFO] Compilation terminée, archivage des fichiers...",
"[INFO] Validating output files and generating final product...": "[INFO] Validation des fichiers et génération de l'exécutable...",
@@ -223,5 +218,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "Python n'est pas détecté !
Installez Python (cochez 'Add to PATH').",
"Download Python": "Télécharger Python",
"Unknown": "Inconnu",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Glissez-déposez un script Python (.py/.pyw) ici\nou cliquez pour parcourir..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Glissez-déposez un script Python (.py/.pyw) ici\nou cliquez pour parcourir...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "Dossier Temp du système (Anti-verrouillage / Compatible Cloud)",
+ "Cancel": "Annuler",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "Double-cliquez pour modifier; Glisser-déposer pris en charge. Utilisez 'Exporter Préréglage' pour sauvegarder.",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] Environnement local GCC/MinGW-w64 détecté, utilisation du compilateur MinGW64.",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] Environnement local Zig détecté, Nuitka gérera la compilation du backend C.",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] Aucun compilateur C local détecté. Nuitka téléchargera et gérera automatiquement une chaîne d'outils MinGW-w64 compatible.",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] Mode allégé activé, application de l'optimisation du bytecode (-OO) et suppression des modules de développement...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] Exception d'E/S : {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka Détection et gestion automatiques du compilateur backend C"
}
diff --git a/qpypack/locales/ja_JP.json b/qpypack/locales/ja_JP.json
index 4b84477..a9d127c 100644
--- a/qpypack/locales/ja_JP.json
+++ b/qpypack/locales/ja_JP.json
@@ -152,15 +152,10 @@
"[INFO] Installing build environment and project dependencies ({count} packages): {pkgs}": "[INFO] 依存関係 ({count} パッケージ) をインストール中: {pkgs}",
"[INFO] Switching to backup PyPI source for retrieval: {url}": "[INFO] バックアップの PyPI ソースに切り替えて再試行中: {url}",
"[INFO] Starting {engine} engine to compile binary files...": "[INFO] {engine} エンジンを起動してコンパイルを開始中...",
- "[INFO] Found local MSVC environment, prioritizing native C++ compiler.": "[INFO] ローカルの MSVC 環境を検出しました。ネイティブ C++ コンパイラを優先します。",
- "[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] ローカルの Clang 環境を検出しました。LLVM Clang コンパイラを優先します。",
- "[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+ を検出: Zig コンパイラ (--zig) を C バックエンドとして使用します。",
- "[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] MinGW64 コンパイラ (--mingw64) を C バックエンドとして使用します。",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] システムメモリを評価中 (空き: {ram:.1f} GB)。並行処理を調整しました: {cores} -> {safe_jobs} ...",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] アイコンパラメータを削除して自動的に再ビルド中...",
"[INFO] Writing application icon...": "[INFO] アプリケーションアイコンを書き込み中...",
"[INFO] Application icon written successfully.": "[INFO] アイコンが正常に書き込まれました。",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] 軽量化モードが有効です。非必須モジュールを除外します...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Nuitka 最適化ディレクティブを有効にしました...",
"[INFO] Compilation completed, archiving built files...": "[INFO] コンパイル完了。生成ファイルをアーカイブ中...",
"[INFO] Validating output files and generating final product...": "[INFO] 出力ファイルを検証し、最終成果物を生成中...",
@@ -223,5 +218,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "システムにPythonが検出されません!
インストールされていない場合はダウンロードしてインストールしてください('Add Python.exe to PATH'のチェックを忘れないでください)。",
"Download Python": "Pythonをダウンロード",
"Unknown": "不明",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Python スクリプト (.py/.pyw) をここにドラッグ&ドロップ\nまたはクリックして参照..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Python スクリプト (.py/.pyw) をここにドラッグ&ドロップ\nまたはクリックして参照...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "システムの一時ディレクトリ (ロック防止 / クラウド同期対応)",
+ "Cancel": "キャンセル",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "ダブルクリックでパスを編集。ドラッグ&ドロップ対応。再利用するには「プリセットのエクスポート」をご利用ください。",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] ローカルの GCC/MinGW-w64 環境を検出しました。MinGW64 コンパイラを使用します。",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] ローカルの Zig 環境を検出しました。Nuitka に C バックエンドのコンパイルを任せます。",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] ローカルの C コンパイラが検出されませんでした。Nuitka が自動的に互換性のある MinGW-w64 ツールチェーンをダウンロードして管理します。",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] 軽量化モードを有効にしました。バイトコード最適化 (-OO) を適用し、開発モジュールを削除します...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] I/O 例外: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka C バックエンドコンパイラを自動検出して管理します"
}
diff --git a/qpypack/locales/ko_KR.json b/qpypack/locales/ko_KR.json
index bce353a..9456340 100644
--- a/qpypack/locales/ko_KR.json
+++ b/qpypack/locales/ko_KR.json
@@ -152,15 +152,10 @@
"[INFO] Installing build environment and project dependencies ({count} packages): {pkgs}": "[INFO] 의존성 설치 중 ({count}개): {pkgs}",
"[INFO] Switching to backup PyPI source for retrieval: {url}": "[INFO] 보조 PyPI 소스로 전환: {url}",
"[INFO] Starting {engine} engine to compile binary files...": "[INFO] {engine} 엔진을 시작하여 컴파일 중...",
- "[INFO] Found local MSVC environment, prioritizing native C++ compiler.": "[INFO] 로컬 MSVC 발견, 네이티브 C++ 컴파일러 우선.",
- "[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] 로컬 Clang 발견, LLVM Clang 우선.",
- "[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+: Zig 컴파일러(--zig) 사용.",
- "[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] MinGW64 컴파일러(--mingw64) 사용.",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] 시스템 메모리 평가 (사용 가능: {ram:.1f} GB). 동시성 조정: {cores} -> {safe_jobs} ...",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] 아이콘 매개변수를 제거하고 다시 빌드 중...",
"[INFO] Writing application icon...": "[INFO] 애플리케이션 아이콘 적용 중...",
"[INFO] Application icon written successfully.": "[INFO] 애플리케이션 아이콘 적용 완료.",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] 경량화 모드 활성화. 불필요한 모듈 제외 중...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Nuitka 최적화 적용 완료...",
"[INFO] Compilation completed, archiving built files...": "[INFO] 컴파일 완료, 파일 아카이빙 중...",
"[INFO] Validating output files and generating final product...": "[INFO] 출력 파일 검증 및 최종 결과물 생성 중...",
@@ -223,5 +218,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "Python이 감지되지 않았습니다!
Python을 설치하세요. ('Add to PATH' 체크 필수)",
"Download Python": "Python 다운로드",
"Unknown": "알 수 없음",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Python 스크립트 (.py/.pyw) 파일을 이곳에 끌어다 놓거나\n클릭하여 찾아보기..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Python 스크립트 (.py/.pyw) 파일을 이곳에 끌어다 놓거나\n클릭하여 찾아보기...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "시스템 임시 폴더 (잠금 방지 / 클라우드 동기화 친화적)",
+ "Cancel": "취소",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "대상 경로를 편집하려면 더블 클릭하세요. 드래그 앤 드롭 지원. 저장을 위해 '프리셋 내보내기'를 사용하세요.",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] 로컬 GCC/MinGW-w64 환경을 감지했습니다. MinGW64 컴파일러를 사용합니다.",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] 로컬 Zig 환경을 감지했습니다. Nuitka가 C 백엔드 컴파일을 관리합니다.",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] 로컬 C 컴파일러가 감지되지 않았습니다. Nuitka가 호환되는 MinGW-w64 도구 체인을 자동으로 다운로드하고 관리합니다.",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] 경량화 모드가 활성화되었습니다. 바이트코드 최적화(-OO)를 적용하고 개발 모듈을 제거하는 중...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] I/O 예외: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka C 백엔드 컴파일러 자동 감지 및 관리 중"
}
diff --git a/qpypack/locales/pt_BR.json b/qpypack/locales/pt_BR.json
index 18eb9c6..9d9fa62 100644
--- a/qpypack/locales/pt_BR.json
+++ b/qpypack/locales/pt_BR.json
@@ -152,15 +152,10 @@
"[INFO] Installing build environment and project dependencies ({count} packages): {pkgs}": "[INFO] Instalando dependências ({count} pacotes): {pkgs}",
"[INFO] Switching to backup PyPI source for retrieval: {url}": "[INFO] Alternando para servidor PIP secundário: {url}",
"[INFO] Starting {engine} engine to compile binary files...": "[INFO] Iniciando motor {engine} para compilação...",
- "[INFO] Found local MSVC environment, prioritizing native C++ compiler.": "[INFO] Ambiente MSVC local detectado, priorizando compilador C++ nativo.",
- "[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] Ambiente Clang local detectado, priorizando compilador LLVM Clang.",
- "[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+ detectado: Usando Zig (--zig).",
- "[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] Usando compilador MinGW64 (--mingw64).",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] Avaliando memória (Livre: {ram:.1f} GB). Concorrência ajustada: {cores} -> {safe_jobs} ...",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] Removendo parâmetros de ícone e recompilando...",
"[INFO] Writing application icon...": "[INFO] Gravando ícone do aplicativo...",
"[INFO] Application icon written successfully.": "[INFO] Ícone gravado com sucesso.",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] Modo leve ativado, excluindo módulos desnecessários...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Diretivas de otimização Nuitka ativadas...",
"[INFO] Compilation completed, archiving built files...": "[INFO] Compilação concluída, arquivando arquivos...",
"[INFO] Validating output files and generating final product...": "[INFO] Validando arquivos e gerando executável...",
@@ -223,5 +218,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "Python não detectado!
Instale o Python (marque 'Add Python.exe to PATH').",
"Download Python": "Baixar Python",
"Unknown": "Desconhecido",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Arraste e solte o script Python (.py/.pyw) aqui\nou clique para navegar..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Arraste e solte o script Python (.py/.pyw) aqui\nou clique para navegar...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "Diretório Temporário do Sistema (Anti-bloqueio / Nuvem)",
+ "Cancel": "Cancelar",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "Clique duplo para editar o caminho de destino; Suporta arrastar e soltar. Use 'Exportar Predefinição' para salvar.",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] Ambiente GCC/MinGW-w64 local detectado, usando o compilador MinGW64.",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] Ambiente Zig local detectado, Nuitka gerenciará a compilação do backend C.",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] Nenhum compilador C local detectado. O Nuitka fará o download e o gerenciamento automático de um MinGW-w64.",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] Modo leve ativado, aplicando otimização de bytecode (-OO) e removendo módulos dev...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] Exceção de E/S: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Detectando e gerenciando automaticamente o compilador backend C"
}
diff --git a/qpypack/locales/ru_RU.json b/qpypack/locales/ru_RU.json
index ba698e3..91f1d3d 100644
--- a/qpypack/locales/ru_RU.json
+++ b/qpypack/locales/ru_RU.json
@@ -160,7 +160,6 @@
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] Удаление параметров иконки и пересборка...",
"[INFO] Writing application icon...": "[INFO] Запись иконки приложения...",
"[INFO] Application icon written successfully.": "[INFO] Иконка приложения успешно записана.",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] Облегченный режим включен, исключение модулей...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] Включены директивы оптимизации Nuitka...",
"[INFO] Compilation completed, archiving built files...": "[INFO] Компиляция завершена, архивирование файлов...",
"[INFO] Validating output files and generating final product...": "[INFO] Проверка выходных файлов и генерация...",
@@ -223,5 +222,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "Python не найден!
Установите Python (с галочкой 'Add to PATH').",
"Download Python": "Скачать Python",
"Unknown": "Неизвестно",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Перетащите Python-скрипт (.py/.pyw) сюда\nили нажмите для обзора..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "Перетащите Python-скрипт (.py/.pyw) сюда\nили нажмите для обзора...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "Системная Temp-папка (Без блокировок / Для облака)",
+ "Cancel": "Отмена",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "Двойной клик для изменения пути. Для сохранения используйте «Экспортировать пресет».",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] Найден локальный GCC/MinGW-w64, используется MinGW64.",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] Найдена среда Zig, Nuitka сама управляет C-бэкендом.",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] Локальный C-компилятор не найден. Nuitka автоматически скачает и настроит MinGW-w64.",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] Облегченный режим включен, применяется оптимизация байт-кода (-OO) и удаление dev-модулей...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] Ошибка ввода-вывода: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Автоопределение и управление C-компилятором"
}
diff --git a/qpypack/locales/zh_TW.json b/qpypack/locales/zh_TW.json
index 36db778..5c2b818 100644
--- a/qpypack/locales/zh_TW.json
+++ b/qpypack/locales/zh_TW.json
@@ -160,7 +160,6 @@
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] 移除圖示參數並重新建置...",
"[INFO] Writing application icon...": "[INFO] 寫入應用程式圖示...",
"[INFO] Application icon written successfully.": "[INFO] 應用程式圖示寫入成功。",
- "[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] 啟用精簡模式,排除非必要模組...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] 啟用 Nuitka 優化指令...",
"[INFO] Compilation completed, archiving built files...": "[INFO] 編譯完成,歸檔產物...",
"[INFO] Validating output files and generating final product...": "[INFO] 校驗並產生最終產物...",
@@ -223,5 +222,14 @@
"Python is not detected on your system!
QPyPack requires a Python environment to compile your code.
If you haven't installed Python, please download and install it (remember to check 'Add Python.exe to PATH' during installation).": "未在系統中偵測到有效的 Python!
QPyPack 需要 Python 環境才能編譯。
如果您尚未安裝,請前往官網下載(請務必勾選 'Add Python.exe to PATH')。",
"Download Python": "前往下載 Python",
"Unknown": "未知",
- "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "將 Python 腳本 (.py/.pyw) 拖放至此\n或點擊瀏覽..."
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "將 Python 腳本 (.py/.pyw) 拖放至此\n或點擊瀏覽...",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "系統 Temp 目錄 (防鎖定 / 雲端友善)",
+ "Cancel": "取消",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "雙擊編輯目標路徑;支援拖放。建議使用「匯出預設」進行儲存。",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] 偵測到本地 GCC/MinGW-w64 環境,優先使用 MinGW64 編譯器。",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] 偵測到本地 Zig 環境,由 Nuitka 接管 C 後端編譯。",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] 未偵測到本地 C 編譯器,Nuitka 將自動下載並管理相容的 MinGW-w64 工具鏈。",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] 啟用精簡模式,應用位元組碼優化 (-OO) 並剔除開發環境模組...",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] I/O 異常: {err_msg}",
+ "✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler": "✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka 自動偵測並管理 C 後端編譯器"
}
diff --git a/qpypack/main.py b/qpypack/main.py
index 3979d3f..7185b65 100644
--- a/qpypack/main.py
+++ b/qpypack/main.py
@@ -49,7 +49,7 @@ except ImportError:
HAS_QT_AUDIO = False
__app_name__ = "QPyPack"
-__version__ = "2.7.1"
+__version__ = "2.7.2"
__author__ = "QwejayHuang"
__company__ = "QwejayHuang"
__description__ = "Modern Cross-Platform Python Packaging GUI Powered by PyInstaller & Nuitka"
@@ -74,6 +74,7 @@ ZH_CN_DICT = {
"Modern Cross-Platform Python Packaging GUI Powered by PyInstaller & Nuitka": "基于 PyInstaller 与 Nuitka 的现代化跨平台 Python 打包工具",
"Python Packaging, Reimagined.": "重新定义 Python 应用打包体验",
"Drop Python source code to start": "拖入 Python 源码,即刻启程",
+ "Drag & Drop Python script (.py/.pyw) here\nor Click to Browse": "拖拽 Python 脚本 (.py/.pyw) 到此\n或点击浏览",
# 3. 导航与选项卡 (Tabs & Navigation)
"Build Settings": "构建设置",
@@ -124,6 +125,7 @@ ZH_CN_DICT = {
"Import Preset...": "导入预设...",
"Reset to Default Config": "重置默认配置",
"Cancel & Return": "取消并返回",
+ "Cancel": "取消",
"Configure Build Settings": "构建设置",
"Toggle Execution Log": "切换日志",
"Detailed Mode": "详细日志",
@@ -167,6 +169,7 @@ ZH_CN_DICT = {
"Temporary Directory:": "临时目录:",
"Source Directory (.qpypack_build)": "源码同级目录 (.qpypack_build)",
"System Temp Directory": "系统 Temp 目录",
+ "System Temp Directory (Anti-Lock / Cloud-Friendly)": "系统 Temp 目录 (防锁定 / 云盘友好)",
"Source File Directory": "源码同级目录",
"Custom Directory": "自定义目录",
"Import Name": "导入名",
@@ -201,6 +204,7 @@ ZH_CN_DICT = {
"Leave blank to auto-detect from environment variables": "留空从环境变量自动检测",
"Dynamically exclude redundant dependencies in build environment, improving speed and reducing size.": "动态排除构建环境的冗余依赖,提升速度并减小体积。",
"Double-click to edit target path; Drag & drop supported": "双击编辑目标路径;支持拖拽",
+ "Double-click to edit target path; Drag & drop supported. Use 'Export Preset' to save for reuse.": "双击编辑目标路径;支持拖拽。建议使用“导出预设”进行保存。",
# 8. 引擎说明与平台兼容性矩阵 (Engine Help & Platform Matrices)
"PyInstaller — Bundles Python interpreter and bytecode. Fast build speed, zero configuration (no C compiler needed), and excellent compatibility.":
@@ -220,6 +224,9 @@ ZH_CN_DICT = {
'✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.15+ ✔ Linux
Nuitka Requires MSVC / Clang / Zig (MinGW64 unsupported)':
'✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.15+ ✔ Linux
Nuitka 需 MSVC / Clang / Zig (不支持 MinGW64)',
+
+ '✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler':
+ '✖ Windows 7 ✖ Windows 8/8.1 ✔ Windows 10/11 ✔ macOS 10.13+ ✔ Linux
Nuitka 自动检测并管理 C 后端编译器',
'Auto-detecting system environment for Windows, macOS & Linux...':
'自动检测系统环境 (Win/macOS/Linux)...',
@@ -250,11 +257,15 @@ ZH_CN_DICT = {
"[INFO] Found local Clang environment, prioritizing LLVM Clang compiler.": "[INFO] 检测到 Clang,优先使用 LLVM Clang 编译器。",
"[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend.": "[INFO] Python 3.13+: 使用 Zig 编译器。",
"[INFO] Using MinGW64 compiler (--mingw64) for C backend.": "[INFO] 使用 MinGW64 编译器。",
+ "[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler.": "[INFO] 检测到本地 GCC/MinGW-w64 环境,优先使用 MinGW64 编译器。",
+ "[INFO] Found local Zig environment, letting Nuitka manage C backend compilation.": "[INFO] 检测到本地 Zig 环境,由 Nuitka 接管 C 后端编译。",
+ "[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain.": "[INFO] 未检测到本地 C 编译器,Nuitka 将自动下载并管理兼容的 MinGW-w64 工具链。",
"[INFO] Evaluating system physical memory (Available: {ram:.1f} GB). Adaptive concurrency adjusted: {cores} -> {safe_jobs} ...": "[INFO] 评估系统内存 (可用: {ram:.1f} GB)。调整并发: {cores} -> {safe_jobs}",
"[INFO] Stripping icon parameters and automatically rebuilding...": "[INFO] 剥离图标参数并重新构建...",
"[INFO] Writing application icon...": "[INFO] 写入应用图标...",
"[INFO] Application icon written successfully.": "[INFO] 应用图标写入成功。",
"[INFO] Lite mode enabled, excluding non-essential modules...": "[INFO] 启用精简模式,排除非必要模块...",
+ "[INFO] Lite mode enabled, applying bytecode optimization (-OO) and stripping dev modules...": "[INFO] 启用精简模式,应用字节码优化 (-OO) 并剔除开发环境模块...",
"[INFO] Enabled Nuitka optimization directives...": "[INFO] 启用 Nuitka 优化指令...",
"[INFO] Compilation completed, archiving built files...": "[INFO] 编译完成,归档产物...",
"[INFO] Validating output files and generating final product...": "[INFO] 校验并生成最终产物...",
@@ -295,6 +306,7 @@ ZH_CN_DICT = {
"[ERROR] Build completed, but the following dependencies failed to install:\n\n - {pkgs}\n\nNote: The application might raise ModuleNotFoundError at runtime.": "[ERROR] 构建完成,但以下依赖安装失败:\n\n - {pkgs}\n\n注意: 运行时可能抛出 ModuleNotFoundError。",
"[ERROR] Process error: command or binary missing ({error})": "[ERROR] 进程错误: 命令或二进制文件缺失 ({error})",
"[ERROR] System execution exception: {error}": "[ERROR] 系统执行异常: {error}",
+ "[ERROR] I/O Exception: {err_msg}": "[ERROR] I/O 异常: {err_msg}",
"Dependency Missing Warning: {pkgs} failed to install. Check log for details.": "依赖缺失警告: {pkgs} 安装失败,详情见日志。",
"Package mappings have been reset to defaults.": "包映射已重置为默认值。",
"Config preset exported to: {path}": "配置预设已导出: {path}",
@@ -2196,7 +2208,7 @@ class SettingsPanel(QWidget):
self.sandbox_mode_combo = QComboBox()
self.sandbox_mode_combo.addItems([
_("Source Directory (.qpypack_build)"),
- _("System Temp Directory (Anti-Lock / Cloud-Friendly)")
+ _("System Temp Directory")
])
setup_combo_white_theme(self.sandbox_mode_combo)
@@ -2775,10 +2787,25 @@ class SettingsPanel(QWidget):
self.python_desc_lbl.setText(_('✔ Windows 7 ✔ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux
Legacy OS Full backward compatibility', ver=ver_str))
elif (major, minor) <= (3, 10):
self.python_desc_lbl.setText(_('✖ Windows 7 ✔ Windows 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux', ver=ver_str))
- elif (major, minor) <= (3, 12):
- self.python_desc_lbl.setText(_('✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka MinGW64 supported out-of-the-box', ver=ver_str))
else:
- self.python_desc_lbl.setText(_('✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.15+ ✔ Linux
Nuitka Requires MSVC / Clang / Zig (MinGW64 unsupported)', ver=ver_str))
+ self.python_desc_lbl.setText(_('✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler', ver=ver_str))
+ return
+ except Exception:
+ pass
+
+ self.python_desc_lbl.setText(_('Auto-detecting system environment for Windows, macOS & Linux...'))
+
+ if ver_str:
+ try:
+ parts = [int(x) for x in ver_str.split('.')]
+ major, minor = parts[0], parts[1]
+
+ if (major, minor) <= (3, 8):
+ self.python_desc_lbl.setText(_('✔ Windows 7 ✔ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux
Legacy OS Full backward compatibility', ver=ver_str))
+ elif (major, minor) <= (3, 10):
+ self.python_desc_lbl.setText(_('✖ Windows 7 ✔ Windows 8.1 ✔ Windows 10 / 11 ✔ macOS 10.9+ ✔ Linux', ver=ver_str))
+ else:
+ self.python_desc_lbl.setText(_('✖ Windows 7 ✖ Windows 8 / 8.1 ✔ Windows 10 / 11 ✔ macOS 10.13+ ✔ Linux
Nuitka Auto-detecting and managing C backend compiler', ver=ver_str))
return
except Exception:
pass
@@ -3208,7 +3235,8 @@ class PackingThread(QThread):
build_script_path, is_temp, err_msg = self.sanitize_script(script_path)
if not build_script_path and err_msg:
- return self.build_finished.emit(False, f"[ERROR] I/O Exception: {err_msg}", [])
+ return self.build_finished.emit(False, _("[ERROR] I/O Exception: {err_msg}", err_msg=err_msg), [])
+
script_posix = build_script_path.as_posix()
system_python_exe = get_python_executable()
@@ -3415,7 +3443,7 @@ class PackingThread(QThread):
cmd.append("--onefile")
else:
cmd.append("--onedir")
- cmd.append("--contents-directory=internal")
+ cmd.append("--contents-directory=_internal")
if self.params['noconsole']: cmd.append("--noconsole")
else: cmd.append("--console")
@@ -3500,21 +3528,20 @@ class PackingThread(QThread):
if any(p.exists() for p in llvm_paths):
has_clang = True
+ has_gcc = (shutil.which('gcc.exe') is not None) or (shutil.which('g++.exe') is not None)
+
py_ver_num = (3, 12)
try:
kw = {"capture_output": True, "text": True, "timeout": 2}
if os.name == 'nt': kw["creationflags"] = subprocess.CREATE_NO_WINDOW
check_ver = subprocess.run([python_exe, "-c", "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')"], **kw)
ver_str = check_ver.stdout.strip()
-
if ver_str:
parts = ver_str.split('.')
py_ver_num = (int(parts[0]), int(parts[1]))
except: pass
- has_cl_exe = shutil.which('cl.exe') is not None
-
- if has_cl_exe:
+ if has_msvc:
cmd.append("--msvc=latest")
self.progress.emit(_("[INFO] Found local MSVC environment, prioritizing native C++ compiler."))
elif has_clang:
@@ -3523,9 +3550,12 @@ class PackingThread(QThread):
elif py_ver_num >= (3, 13):
cmd.append("--zig")
self.progress.emit(_("[INFO] Python 3.13+ detected: Using Zig compiler (--zig) as C backend."))
+ elif has_gcc:
+ cmd.append("--mingw64")
+ self.progress.emit(_("[INFO] Found local GCC/MinGW-w64 environment, using MinGW64 compiler."))
else:
cmd.append("--mingw64")
- self.progress.emit(_("[INFO] Using MinGW64 compiler (--mingw64) for C backend."))
+ self.progress.emit(_("[INFO] No local C compiler detected. Nuitka will automatically download and manage a compatible MinGW-w64 toolchain."))
free_disk = get_free_disk_gb(script_dir.as_posix())
if free_disk < 3.0:
@@ -4150,7 +4180,6 @@ class MainWindow(QMainWindow):
self.settings_panel.exclude_edit.clear()
self.settings_panel.add_data_list.clear()
self.settings_panel.reqs_file_edit.clear()
- self.settings_panel.out_dir_edit.clear()
self.settings_panel.name_edit.clear()
self.script_path = path
diff --git a/qpypack/requirements.txt b/qpypack/requirements.txt
deleted file mode 100644
index 2b5901e..0000000
--- a/qpypack/requirements.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-Pillow==12.3.0
-pyside6==6.11.1
-pyside6_addons==6.11.1
-pyside6_essentials==6.11.1