From b1ba0194add2b42e8e8139aae3ad73eafc4803b8 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 29 Dec 2022 11:20:18 +0800 Subject: [PATCH] fix: forget nuitka in requirement --- .github/workflows/nuitka.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/nuitka.yml b/.github/workflows/nuitka.yml index b9f4626..35fa31c 100644 --- a/.github/workflows/nuitka.yml +++ b/.github/workflows/nuitka.yml @@ -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