Skip to content

Commit

Permalink
fix(path): use explicit path
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnec committed Apr 21, 2021
1 parent 9989ce5 commit 36edc26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plenopticam/scripts/bundling/py2exe.bat
Expand Up @@ -4,14 +4,14 @@

:: find python's site-packages path
SET sp_path = python -c "import site; print(site.getsitepackages()[0])"
ECHO !sp_path!
%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=c:\hostedtoolcache\windows\python\3.8.9\x64\lib\site-packages\imageio;.\imageio^
--add-data=docs\build\html\;.\docs\build\html\^
--add-data=plenopticam\gui\icns\1055104.ico;.\icns\

0 comments on commit 36edc26

Please sign in to comment.