复制10%优惠码 【96YF71WTUG】
购买优动漫PAINT(CLIP STUDIO PAINT官方中文正版)
详情请戳:https://www.udongman.cn/index.php?m=product&c=csp
+ c_name
+ f_description
+ ' --follow-imports'
+ o_dir
+ pythonfile)
print('over')
return
#打包部分↑
rig = subprocess.getstatusoutput("gcc -v")#cmdgcc-v,错误则返回非0值,判断是否已经设置好环境
if (rig[0]) == 0:
nuitkaing()
else:
if 'mingw64.zip' in os.listdir(r'D:/ProgramData/'):#看看文件夹下是否包含已经下载好的minge64
pass
else:
#1按照url下载zip压缩包↓
print('downloading...')
try:
#设置URL,现在这里是10.0.0-r3
url = requests.get(r'https://github.com/brechtsanders/winlibs_mingw/releases/download/11.3.0-14.0.3-10.0.0-ucrt-r3/winlibs-x86_64-posix-seh-gcc-11.3.0-llvm-14.0.3-mingw-w64ucrt-10.0.0-r3.zip').content
if not os.path.exists(r'D:ProgramData'):
os.makedirs(r'D:ProgramData')
with open(r'D:/ProgramData/' + 'mingw64.zip', "wb") as f:
f.write(url)
print('ok')
except:
print('移不动,联不通,信不过')
sys.exit()
#1下载结束↑
#2以下开始解压缩↓
frzip = zipfile.ZipFile(r'D:/ProgramData/' + 'mingw64.zip', 'r')
print('loading..')
for file in frzip.namelist():
Copyright © 2022
wuwofcproject.com, All rights reserved
独家内容 未经许可 严禁复制、镜像、转载