Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12e736d264 | ||
|
|
8be62683dc |
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
venv/
|
venv/
|
||||||
|
|
||||||
|
# nuitka 编译产物
|
||||||
|
botops.bin
|
||||||
|
app.build/
|
||||||
|
app.dist/
|
||||||
|
app.onefile-build/
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# 编译 BotOps 为独立单文件(不运行):产出 ./botops.bin
|
||||||
|
# 用法: ./_inst.sh
|
||||||
|
cd "$(dirname "$0")" || exit
|
||||||
|
source venv/bin/activate
|
||||||
|
python3 -m nuitka --standalone --onefile \
|
||||||
|
--assume-yes-for-downloads \
|
||||||
|
--include-package-data=textual \
|
||||||
|
--output-filename=botops.bin \
|
||||||
|
app.py
|
||||||
|
echo "编译完成: ./botops.bin(运行: ./botops.bin [ws://host:port])"
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
textual>=0.60.0
|
textual>=0.60.0
|
||||||
websockets>=11.0
|
websockets>=11.0
|
||||||
|
nuitka
|
||||||
Reference in new issue
Block a user