publish test

This commit is contained in:
xaoyo committed 2023-11-28 19:12:39 +08:00
1 parent 5297c0c015
commit 97eb65d13f
3 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ coll = COLLECT(exe,
os.makedirs("dist", exist_ok=True)
# 将代码写入文件
with open("dist/tmp.py", "w", encoding="utf-8") as f:
f.write(code)
f.write(code.strip())
# 获取安装包的路径
package_path = site.getsitepackages()