Skip to content

Commit 5455f34

Browse files
committed
Manually point the installer at the dll in venv
1 parent 8712598 commit 5455f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mkdir bin
44
REM use to debug the exe file
55
REM pyinstaller --onefile --icon=..\resources\icons\qr_code.ico --debug --clean main.py
66

7-
pyinstaller --onefile --windowed --icon="resources\icons\qr_code.ico" --clean "main.py"
7+
pyinstaller --onefile --add-binary "C:\Users\rqq82173\.virtualenvs\PuckBarcodeReader-6rTXUiM6\Lib\site-packages\pylibdmtx\libdmtx-64.dll;." --windowed --icon="resources\icons\qr_code.ico" --clean "main.py"
88

99
move dist\main.exe bin\barcode.exe
1010
rd /S /Q build

0 commit comments

Comments
 (0)