publish test

This commit is contained in:
xaoyo 2023-11-28 19:01:49 +08:00
parent a08403cbff
commit 8cfd0bbcb9
2 changed files with 6 additions and 3 deletions

View File

@ -46,7 +46,7 @@ jobs:
ls -l dist
ls -l "${{ github.workspace }}"
cd dist
./pywxdump.exe -h
pywxdump.exe
# - name: Publish package with Twine # 使用 Twine 发布到 PyPI
# run: |

View File

@ -8,7 +8,10 @@
import site
import os
code = """from pywxdump.command import console_run;console_run()"""
code = """
from pywxdump.command import console_run
console_run()
"""
spec_content = '''
# -*- mode: python ; coding: utf-8 -*-
@ -60,7 +63,7 @@ coll = COLLECT(exe,
upx_exclude=[],
name='pywxdump')
'''
'''
# 创建文件夹
os.makedirs("dist", exist_ok=True)
# 将代码写入文件