Metadata-Version: 2.4
Name: pyinstaller-plus
Version: 0.1.3
Summary: PyInstaller wrapper that runs DistroMate packaging/publish after build
License-Expression: LicenseRef-Proprietary
Keywords: pyinstaller,distromate,packaging,installer,publish
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pyinstaller
Requires-Dist: tomli; python_version < "3.11"

# pyinstaller-plus  
  
`pyinstaller-plus` 是对 PyInstaller 的包装器，在构建可执行程序后进一步完成安装包/增量包打包和发布功能，生成直链进行分发  
同时内置 `distromate.exe`，安装后可直接通过 `distromate` 命令调用。 

## 如何安装

```bash
pip install pyinstaller-plus
```
  
## 使用方式  
  
使用方式与pyinstaller完全兼容，唯一区别新增两个参数

-p publish模式，发布安装包和增量包
--dm-version 发布的版本，例如1.0.0

仅打包模式（与pyinstaller完全一致）
```bash  
pyinstaller-plus your.spec
```  
  
构建后直接发布：

```bash  
pyinstaller-plus -p --dm-version 1.2.3 your.spec
```  

```
[pyinstaller-plus] $ distromate publish -v 1.10.6
https://distromate-static.s3.bitiful.net/launcher/1.0.2/meta.json
Warning: 未设置图标文件，将使用默认图标
Building update package...
  Compressed: 35.8 MB -> 35.0 MB (97.9%)
Building setup package...
Uploading questiondownload-Setup-1.10.6.exe 100% [==============================] (38/38 MB, 6.4 MB/s)               
Uploaded questiondownload-Update-1.10.6.bin (cached)                                                                 
Uploading questiondownload-Update-1.10.6.manifest.json 100% [==============================] (5.9/5.9 kB, 17 kB/s)
Published questiondownload:1.10.6
下载链接: https://api.distromate.net/api/applications/pvlrkj4y/installer
(QuestionDownload) PS C:\Users\yangs\PycharmProjects\2510\QuestionDownload> 
```
