# python快速打包工具 **Repository Path**: Ruler_Madman/python-quick-packaging-tool ## Basic Information - **Project Name**: python快速打包工具 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-11-06 - **Last Updated**: 2024-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python快速打包工具 #### 介绍 模仿PyStand项目但是支持终端运行 #### 软件架构 软件架构说明 1.主程序.exe 可以重命名,且可以通过ResourceHacker进行图标的替换 2.load.int 设置python加载路径,内容为主程序入口py文件全称不含路径 3./runtime/ python嵌入式版本 4./runtime/code 存放python代码 5./runtime/data 存放python数据库存放位置 6./runtime/resources 存放python资源文件存放位置 7./runtime/site-packages 存放python三方库存放位置 8./runtime/pythonXY._pth 设置python库加载位置定义,内容示例如下: ```text python311.zip . ./code/ ./data/ ./site-packages/ #Uncomment to run site.main() automatically #import site ``` #### 安装教程 1. 解压即用 2. 默认python嵌入版本为Python 3.11.9 3. .py文件可通过pyarmor进行加密 4. 主程序.exe可重命名,且可以通过ResourceHacker进行图标的替换 #### 使用说明 1.安装pyarmor命令 ```powershell pip install pyarmor ``` 2.pyarmor加密命令 ```powershell pyarmor g you_scripts.py ``` 3.pyarmor加密后的dist里的文件和runtimexxx直接移植到/runtime/code/目录下 4.主程序.exe同目录下创建load.int文件,内容为加密后的主程序入口py文件全称不含路径,示例如下 ```text main.py ```