1 Star 0 Fork 10

zhangchi / teedoc

forked from teedoc / teedoc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
release.py 458 Bytes
一键复制 编辑 原始数据 按行查看 历史
Neucrack 提交于 2021-10-10 23:30 . optimze init command
#!python
import os, sys, shutil
plugin_dir = None
if len(sys.argv) > 1:
plugin_dir = sys.argv[1]
if plugin_dir:
os.chdir(plugin_dir)
if os.path.exists("dist"):
print("delte dist dir")
shutil.rmtree("dist")
print("delte dist dir end")
if os.path.exists("build"):
print("delte build dir")
shutil.rmtree("build")
print("delte build dir end")
os.system("python setup.py sdist bdist_wheel")
os.system("twine upload dist/*")
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zczc8/teedoc.git
git@gitee.com:zczc8/teedoc.git
zczc8
teedoc
teedoc
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891