From 888a7023d86401afad31b4a653e76881a02271d3 Mon Sep 17 00:00:00 2001 From: zhji Date: Sat, 22 Nov 2025 18:09:37 +0800 Subject: [PATCH] [feat] add packet command for python --- python/common/packet.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 python/common/packet.txt diff --git a/python/common/packet.txt b/python/common/packet.txt new file mode 100644 index 0000000..7299bd4 --- /dev/null +++ b/python/common/packet.txt @@ -0,0 +1,12 @@ +# installer +pip install PyInstaller -i https://mirrors.aliyun.com/pypi/simple/ + +# only windows without console +python.exe -m PyInstaller --onefile --windowed --name exe_name .\source_mame.py + +# windows with console +python.exe -m PyInstaller --onefile --console --name exe_name .\source_name.py + +# basic +python.exe -m PyInstaller --onefile --name exe_name .\source_name.py +