fix(exe): copy entrypoint script to correct location before bundling
This commit is contained in:
parent
c0cebcf06d
commit
124014b8b5
|
@ -1,5 +1,6 @@
|
||||||
.coverage
|
.coverage
|
||||||
coverage.xml
|
coverage.xml
|
||||||
|
entry.py
|
||||||
|
|
||||||
*.log
|
*.log
|
||||||
*.swp
|
*.swp
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
REM activate venv
|
REM activate venv
|
||||||
..\api\onnx_env\Scripts\Activate.bat
|
..\api\onnx_env\Scripts\Activate.bat
|
||||||
|
|
||||||
|
REM copy entry script
|
||||||
|
copy .\entry.py ..\api\entry.py
|
||||||
|
|
||||||
REM build bundle
|
REM build bundle
|
||||||
pyinstaller win10.directml.dir.spec --noconfirm
|
pyinstaller win10.directml.dir.spec --noconfirm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue