fix: forget nuitka in requirement
This commit is contained in:
parent
ff15d5ae98
commit
b1ba0194ad
22
.github/workflows/nuitka.yml
vendored
22
.github/workflows/nuitka.yml
vendored
@ -37,7 +37,9 @@ jobs:
|
|||||||
|
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
- name: Install env
|
- 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
|
# # Build python script into a stand-alone exe
|
||||||
@ -68,19 +70,17 @@ jobs:
|
|||||||
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
|
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
arg = "--standalone --assume-yes-for-download "
|
arg="--standalone --assume-yes-for-download "
|
||||||
arg += "--clang --lto=no "
|
arg+="--clang --lto=no "
|
||||||
arg += "--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
|
arg+="--nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet "
|
||||||
arg += "--include-data-dir=./libs/pyglet=./pyglet "
|
arg+="--include-data-dir=./libs/pyglet=./pyglet "
|
||||||
arg += "--include-data-dir=./libs/fonts=./libs/fonts "
|
arg+="--include-data-dir=./libs/fonts=./libs/fonts "
|
||||||
arg += "--include-data-dir=./textures=./textures "
|
arg+="--include-data-dir=./textures=./textures "
|
||||||
arg += "--include-data-dir=./configs=./configs "
|
arg+="--include-data-dir=./configs=./configs "
|
||||||
python -m nuitka $arg DR.py
|
python -m nuitka $arg DR.py
|
||||||
|
|
||||||
- name: after build
|
- name: after build
|
||||||
shell: powershell7
|
run: python after_compile.py
|
||||||
run: |
|
|
||||||
python after_compile.py
|
|
||||||
|
|
||||||
|
|
||||||
# # Uploads artifact
|
# # Uploads artifact
|
||||||
|
Loading…
Reference in New Issue
Block a user