first commit
This commit is contained in:
20
build.bat
Normal file
20
build.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
echo Building HEIF to JPG converter...
|
||||
|
||||
:: Set actual paths based on your system
|
||||
SET PYTHON_DLL_PATH=C:\Users\vanko\anaconda3\DLLs
|
||||
SET VENV_PATH=C:\Users\vanko\MyCode\Heif2Jpg\heif2jpg
|
||||
SET SITE_PACKAGES=%VENV_PATH%\Lib\site-packages
|
||||
|
||||
pyinstaller --noconsole --onefile ^
|
||||
--icon="Heif2Jpg.ico" ^
|
||||
--hidden-import=PIL._tkinter_finder ^
|
||||
--hidden-import=xml.parsers.expat ^
|
||||
--add-binary="%PYTHON_DLL_PATH%\pyexpat.pyd;." ^
|
||||
--add-binary="%PYTHON_DLL_PATH%\_tkinter.pyd;." ^
|
||||
--collect-all pillow_heif ^
|
||||
--collect-all PIL ^
|
||||
heif2jpgGuiBar.py
|
||||
|
||||
echo Done!
|
||||
pause
|
||||
Reference in New Issue
Block a user