0.0.0
Pre-release
Pre-release
data2img 1.0.0
仅支持 Windows 操作系统
使用了三个方法构建 exe,分别是 PyInstaller,Nuitka,以及 PyStand
PyInstaller 构建命令
$ pyinstaller data2img.pyNuitka 构建命令
$ nuitka data2img.py --mingw64 --standalone --output-dir=out --show-progress --windows-file-version=1.0.0 --windows-product-name=data2img --windows-file-description=github.com/gpchn/data2img --include-package=PIL,pyzstd,tqdmPyStand
runtime: Python 3.12.4
对比
| releases | nuitka | pyinstaller | pystand |
|---|---|---|---|
| time/s | 1.29 | 3.63 | 1.00 |
| size/MB | 137 | 79.7 | 37.5 |
| zip size/MB | 48.2 | 35.8 | 17.3 |
| final score | 491 | 75 | 811 |
final score = round(100000 / (100 * t + 0.3 * s + 0.7 * z))