# python2msi **Repository Path**: opennlp/python2msi ## Basic Information - **Project Name**: python2msi - **Description**: 将python文件主程序,转化为MSI文件 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-26 - **Last Updated**: 2021-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # python2msi #### 介绍 将python文件主程序,转化为MSI文件 一个用于将python文件转化为MSI的DEMO #### 测试简单数据 1. 安装PyInstaller pip install PyInstaller 2. 命令行执行脚本 pyinstaller msidemo.py --add-data data/*;data 3. 查看生成目录dist\msidemo 4. 执行msidemo.exe输出结果 ![RUNOOB 图标](./data/image/output.png) 5. 执行tornado server pyinstaller tornado_demo_server.spec 6. 查看生成目录dist\tornado_demo_server 启动程序 tornado_demo_server.exe curl -XPOST http://localhost:18900/api/helloworld 7. 下载 Advanced Installer https://www.advancedinstaller.com/download.html 参考:https://www.advancedinstaller.com/create-msi-python-executable.html #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)