# HaujetZhao/PyInstaller-Perfect-Build-Method

<https://repo.masters-masters.com/en/repos/HaujetZhao/PyInstaller-Perfect-Build-Method>

[Home](https://repo.masters-masters.com/en) › [HaujetZhao](https://repo.masters-masters.com/en/owners/HaujetZhao) › [PyInstaller-Perfect-Build-Method](https://repo.masters-masters.com/en/repos/HaujetZhao/PyInstaller-Perfect-Build-Method)

HaujetZhao/PyInstaller-Perfect-Build-Method has 146 stars on GitHub. Its RepoMasters card: Prototype tier. 如果我要写一个 Python 项目，打包成 exe 运行（方便在没有 Python…

| Field | Value |
| --- | --- |
| Owner | [HaujetZhao](https://repo.masters-masters.com/en/owners/HaujetZhao) |
| Stars | 146 |
| Forks | 32 |
| Language | [Python](https://repo.masters-masters.com/en/languages/python) |
| License | None |
| Created | 2023 |
| Tier | [Prototype (100 to 249 ★)](https://repo.masters-masters.com/en/ranks/rush) |
| View on GitHub | [HaujetZhao/PyInstaller-Perfect-Build-Method](https://github.com/HaujetZhao/PyInstaller-Perfect-Build-Method) |

## Repository

如果我要写一个 Python 项目，打包成 exe 运行（方便在没有 Python 的电脑上使用），我需要打包出的根目录结构美观，没有多余的、杂乱的依赖文件在那里碍眼，而且需要在发现 bug 时，我还需要能够修改里面的代码后，无需再次打包，就能正常运行，该怎么做呢？ 就以一个 Hello 项目为例，记一下我找到的完美方法。

The tier for repos with 100 to 249 ★. Published odds per card pulled: 70%. Rarity: Common.

## More repos by HaujetZhao

- [HaujetZhao/CapsWriter-Offline · ★ 7,048 · Python · Stable](https://repo.masters-masters.com/en/repos/HaujetZhao/CapsWriter-Offline)
- [HaujetZhao/QuickCut · ★ 2,945 · Python · RC](https://repo.masters-masters.com/en/repos/HaujetZhao/QuickCut)
- [HaujetZhao/QuickHand · ★ 474 · Python · Alpha](https://repo.masters-masters.com/en/repos/HaujetZhao/QuickHand)
- [HaujetZhao/CapsWriter · ★ 465 · Python · Alpha](https://repo.masters-masters.com/en/repos/HaujetZhao/CapsWriter)
- [HaujetZhao/color-trace · ★ 249 · Python · Prototype](https://repo.masters-masters.com/en/repos/HaujetZhao/color-trace)
- [HaujetZhao/Qwen3-ASR-GGUF · ★ 245 · C++ · Prototype](https://repo.masters-masters.com/en/repos/HaujetZhao/Qwen3-ASR-GGUF)

## Nearby in Python

- [llm-xiaoye/cc-connect-dy-author · ★ 146 · Python · Prototype](https://repo.masters-masters.com/en/repos/llm-xiaoye/cc-connect-dy-author)
- [PlantCraft/PlantCraft · ★ 146 · Python · Prototype](https://repo.masters-masters.com/en/repos/PlantCraft/PlantCraft)
- [OpenBMB/ForgeKernel · ★ 146 · Python · Prototype](https://repo.masters-masters.com/en/repos/OpenBMB/ForgeKernel)
- [HashNuke/Python-Arduino-Prototyping-API · ★ 146 · Python · Prototype](https://repo.masters-masters.com/en/repos/HashNuke/Python-Arduino-Prototyping-API)
- [isbg/isbg · ★ 146 · Python · Prototype](https://repo.masters-masters.com/en/repos/isbg/isbg)
- [flosch/simpleapi · ★ 146 · Python · Prototype](https://repo.masters-masters.com/en/repos/flosch/simpleapi)

---
Data: GitHub · Illustration drawn by RepoMasters from the repo’s ID and its language color.
