publish test
This commit is contained in:
1 parent
a08403cbff
commit
8cfd0bbcb9
2 files changed
+6
-3
No files matched your search
@@ -46,7 +46,7 @@ jobs:
|
|||||||
ls -l dist
|
ls -l dist
|
||||||
ls -l "${{ github.workspace }}"
|
ls -l "${{ github.workspace }}"
|
||||||
cd dist
|
cd dist
|
||||||
./pywxdump.exe -h
|
pywxdump.exe
|
||||||
|
|
||||||
# - name: Publish package with Twine # 使用 Twine 发布到 PyPI
|
# - name: Publish package with Twine # 使用 Twine 发布到 PyPI
|
||||||
# run: |
|
# run: |
|
||||||
|
|||||||
+5
-2
@@ -8,7 +8,10 @@
|
|||||||
import site
|
import site
|
||||||
import os
|
import os
|
||||||
|
|
||||||
code = """from pywxdump.command import console_run;console_run()"""
|
code = """
|
||||||
|
from pywxdump.command import console_run
|
||||||
|
console_run()
|
||||||
|
"""
|
||||||
spec_content = '''
|
spec_content = '''
|
||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
|
|
||||||
@@ -60,7 +63,7 @@ coll = COLLECT(exe,
|
|||||||
upx_exclude=[],
|
upx_exclude=[],
|
||||||
name='pywxdump')
|
name='pywxdump')
|
||||||
|
|
||||||
'''
|
'''
|
||||||
# 创建文件夹
|
# 创建文件夹
|
||||||
os.makedirs("dist", exist_ok=True)
|
os.makedirs("dist", exist_ok=True)
|
||||||
# 将代码写入文件
|
# 将代码写入文件
|
||||||
|
|||||||
Reference in new issue
Block a user