fix: forget nuitka in requirement

This commit is contained in:
shenjack 2022-12-29 11:20:18 +08:00
parent ff15d5ae98
commit b1ba0194ad

View File

@ -37,7 +37,9 @@ jobs:
# 安装依赖
- name: Install env
run: pip install -r requirement.txt
run: |
pip install -r requirement.txt
pip install nuitka
# # Build python script into a stand-alone exe
@ -68,19 +70,17 @@ jobs:
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
shell: bash
run: |
arg = "--standalone --assume-yes-for-download "
arg += "--clang --lto=no "
arg += "--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
arg += "--include-data-dir=./libs/pyglet=./pyglet "
arg += "--include-data-dir=./libs/fonts=./libs/fonts "
arg += "--include-data-dir=./textures=./textures "
arg += "--include-data-dir=./configs=./configs "
arg="--standalone --assume-yes-for-download "
arg+="--clang --lto=no "
arg+="--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
arg+="--include-data-dir=./libs/pyglet=./pyglet "
arg+="--include-data-dir=./libs/fonts=./libs/fonts "
arg+="--include-data-dir=./textures=./textures "
arg+="--include-data-dir=./configs=./configs "
python -m nuitka $arg DR.py
- name: after build
shell: powershell7
run: |
python after_compile.py
run: python after_compile.py
# # Uploads artifact