HaujetZhao/PyInstaller-Perfect-Build-Method

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

by Haujet Zhao Python 32 forks Created Jun 2023 View on GitHub

Stars
146
1% of HaujetZhao's stars
Rank
#358,432
of 847,331 repos, top 43%
In Python
#70,645
of 172,280 repos, top 42%

Among 847,331 repos

Compare with

100–160 stars: 154,334 repos, including PyInstaller-Perfect-Build-Method

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #356,436
Next milestone
+11 stars to reach the top 40%
Popular
One of 488,632 repos with 100+ stars
Yearly average
42 stars a year since Jun 2023

Stars counted Recounted daily Next count around