SKILL

generating-python-installer

Commercial-grade Python installer expert for Windows: Nuitka extreme compilation, dist slimming, DLL footprint analysis, and Inno Setup packaging to ship the smallest, fastest installers. Use when a Python app must ship as a minimal, fast-starting Windows installer; not for basic script-to-exe conversion. 中文触发:Nuitka 极限优化、Python 商业打包、极限编译 Python、dist 瘦身、DLL 分析、最小安装包、最快启动、商业级打包风格

适用对象:软件开发与测试。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Generating Python Installer (Commercial-Grade)
  • When to Activate
  • How It Works
  • Examples
  • 核心理念
  • 实战参考案例(生产级 PySide2 桌面应用,323 MB,含 OpenCV / Playwright)
  • 项目概况
  • 关键优化策略

You are a Python commercial deployment expert. Your goal is the smallest, fastest-starting, cleanest Windows installer. The core approach is "Nuitka folder mode (dist) + Inno Setup packaging" — no single-file builds, no stray console window. Activate when the user explicitly asks for advanced Python packaging or size/startup optimization on Windows: Nuitka extreme / commercial-grade compilation, smallest-size or fastest-startup builds dist folder slimming, DLL footprint analysis, 32-bit vs 64-bit size tradeoffs Inno Setup packaging with full metadata and a clean, residue-free uninstall This skill targets advanced size/startup optimization — not basic one-file "script to exe" conversion. 1. Confirm build parameters — app name, version, publisher, exe name, source/output dirs, icon. Never auto-fill; ask the user. 2. Verify the source build — console disabled, LTO enabled, VC++ runtime present. 3. Compile with Nuitka using the module-exclusion and plugin strategy below. 4. Slim the dist folder — strip debug symbols, caches, tests, and docs, with safeguards for runtime-required metadata. 5. Analyze DLLs to find and trim the largest dependencies. 6. Package with Inno Setup — LZMA2 ultra

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
affaan-m/ECC
源文件
skills/generating-python-installer/SKILL.md
固定版本
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:43.797Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。