1 Star 0 Fork 1

ckz-code/zeno

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
dist.py 448 Bytes
一键复制 编辑 原始数据 按行查看 历史
双笙子佯谬 提交于 2021-08-08 12:07 +08:00 . fix win spec
#!/usr/bin/env python3
import sys
import subprocess
import shutil
if sys.platform == 'win32':
os_name = 'win'
elif sys.platform == 'linux':
os_name = 'linux'
elif sys.platform == 'darwin':
os_name = 'macos'
else:
raise AssertionError(sys.platform)
subprocess.check_call([sys.executable, '-m', 'PyInstaller', 'scripts/launcher_{}.spec'.format(os_name)] + sys.argv[1:])
shutil.make_archive('dist/launcher', 'zip', 'dist/launcher')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ckz-code/zeno.git
git@gitee.com:ckz-code/zeno.git
ckz-code
zeno
zeno
master

搜索帮助