Comment in Readme
This commit is contained in:
parent
df5d72ca83
commit
e9c48317f8
1 changed files with 5 additions and 1 deletions
|
@ -36,8 +36,12 @@ The installation in Windows can be done, though it is quite elaborate:
|
||||||
* `git submodules update`
|
* `git submodules update`
|
||||||
* `cargo build --lib --release`
|
* `cargo build --lib --release`
|
||||||
+ Download dll from https://git.rubenvandeven.com/r/visualhaar/releases
|
+ Download dll from https://git.rubenvandeven.com/r/visualhaar/releases
|
||||||
|
+ Fetch `SourceSansPro-Regular.ttf` from the internet
|
||||||
+ Make the installer:
|
+ Make the installer:
|
||||||
|
* Either one of:
|
||||||
* `& '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_frontalface_alt2.xml;.' --add-data '.\SourceSansPro-Regular.ttf;.' --add-data 'dnn;dnn'`
|
* `& '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_frontalface_alt2.xml;.' --add-data '.\SourceSansPro-Regular.ttf;.' --add-data 'dnn;dnn'`
|
||||||
|
* `& '.\venv\Scripts\pyinstaller.exe' .\mirror.py --add-binary '.\visualhaar\target\release\visual_haarcascades_lib.dll;.' --add-data '.\haarcascade_frontalface_alt2.xml;.' --add-data '.\SourceSansPro-Regular.ttf;.' --add-data 'dnn;dnn'`
|
||||||
|
|
||||||
* `mv '.\dist\mirror\mpl-data' '.\dist\mirror\matplotlib\'`
|
* `mv '.\dist\mirror\mpl-data' '.\dist\mirror\matplotlib\'`
|
||||||
* `Compress-Archive -LiteralPath .\dist\mirror -DestinationPath .\dist\mirror.zip`
|
* `Compress-Archive -LiteralPath .\dist\mirror -DestinationPath .\dist\mirror.zip`
|
||||||
+ We could also [use wine for cross compilation](https://www.andreafortuna.org/2017/12/27/how-to-cross-compile-a-python-script-into-a-windows-executable-on-linux/) from Linux
|
+ We could also [use wine for cross compilation](https://www.andreafortuna.org/2017/12/27/how-to-cross-compile-a-python-script-into-a-windows-executable-on-linux/) from Linux
|
||||||
|
|
Loading…
Reference in a new issue