Exe build command documented

This commit is contained in:
Ruben van de Ven 2020-10-12 15:59:25 +02:00
parent cf88f3a8ee
commit b3a0e4035b
2 changed files with 4 additions and 0 deletions

View file

@ -32,3 +32,5 @@ The installation in Windows can be done, though it is quite elaborate:
* `git submodules update`
* `cargo build --lib --release`
+ Download dll from https://git.rubenvandeven.com/r/visualhaar/releases
+ Make the installer:
* `build_exe.bat`

2
build_exe.bat Normal file
View file

@ -0,0 +1,2 @@
& 'C:\Users\DP Medialab\AppData\Roaming\Python\Python38\Scripts\pyinstaller.exe' .\mirror.py --add-binary '.\visualhaar\target\release\visual_haarcascades_lib.dll;.' --add-data '.\haarcascade_forntalface_alt2.xml;.' --add-data '.\SourceSansPro-Regular.ttf;.' --add-data 'dnn;dnn'
mv '.\dist\mirror\mpl-data' '.\dist\mirror\matplotlib\'