Skip to content

Commit

Permalink
fix(bat): attempt to enable variable output
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed Apr 20, 2021
1 parent d2a447c commit 9989ce5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plenopticam/scripts/bundling/py2exe.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
@RD /S /Q dist

:: find python's site-packages path
set sp_path = python -c "import site; print(site.getsitepackages()[0])"
%sp_path%
SET sp_path = python -c "import site; print(site.getsitepackages()[0])"
ECHO !sp_path!

:: run pyinstaller with provided options
pyinstaller plenopticam\gui\top_level.py^
--name=plenopticam^
--onefile^
--noconsole^
--icon=plenopticam\gui\icns\1055104.ico^
--add-data="$sp_path"\imageio;.\imageio^
--add-data=%sp_path%\imageio;.\imageio^
--add-data=docs\build\html\;.\docs\build\html\^
--add-data=plenopticam\gui\icns\1055104.ico;.\icns\

0 comments on commit 9989ce5

Please sign in to comment.