From 124014b8b5028c02dd4488d818083433e9c75f34 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 30 Apr 2023 14:56:24 -0500 Subject: [PATCH] fix(exe): copy entrypoint script to correct location before bundling --- api/.gitignore | 1 + exe/build.bat | 3 +++ 2 files changed, 4 insertions(+) diff --git a/api/.gitignore b/api/.gitignore index 2ba1650c..17c17360 100644 --- a/api/.gitignore +++ b/api/.gitignore @@ -1,5 +1,6 @@ .coverage coverage.xml +entry.py *.log *.swp diff --git a/exe/build.bat b/exe/build.bat index 4ff19fbb..85573ffd 100644 --- a/exe/build.bat +++ b/exe/build.bat @@ -1,6 +1,9 @@ REM activate venv ..\api\onnx_env\Scripts\Activate.bat +REM copy entry script +copy .\entry.py ..\api\entry.py + REM build bundle pyinstaller win10.directml.dir.spec --noconfirm