publish test
This commit is contained in:
parent
a08403cbff
commit
8cfd0bbcb9
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -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: |
|
||||
|
@ -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)
|
||||
# 将代码写入文件
|
||||
|
Loading…
Reference in New Issue
Block a user