社保机器人正式版.bat
1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@echo off
ping 127.0.0.1 -n 1 > nul
echo ...
echo ...
echo 开始打包Controlle
D:\developer\python\Scripts\pyinstaller.exe -Fc --hidden-import=pkg_resources --distpath=./sibot --icon=bot.ico D:\developer\Code\alone\sibot\sibot\controller\server.py -n Controller
echo 打包Controlle结束
ping 127.0.0.1 -n 1 > nul
echo ...
echo ...
echo 开始打包Worker
D:\developer\python\Scripts\pyinstaller.exe -Fc --hidden-import=pkg_resources --distpath=./sibot --icon=bot.ico D:\developer\Code\alone\sibot\sibot\worker\server.py -n Worker
echo 打包Worker结束
ping 127.0.0.1 -n 1 > nul
echo ...
echo ...
echo 开始打包Bot
D:\developer\python\Scripts\pyinstaller.exe -Fw --hidden-import=pkg_resources --distpath=./sibot --icon=bot.ico D:\developer\Code\alone\sibot\sibot\watcher\server.py -n Bot
echo 打包Bot结束
echo ...
echo ...
echo ...
echo 开始删除编译临时文件...
rmdir /S /Q .\build
del /a /f /s .\Controller.spec
del /a /f /s .\Worker.spec
del /a /f /s .\Bot.spec
del /a /f /s .\BotClient.spec
echo 删除编译临时文件完成...