Requirements.txt for Windows installer
This commit is contained in:
parent
e9c48317f8
commit
75db761507
2 changed files with 27 additions and 12 deletions
|
@ -11,7 +11,7 @@ A `mirror` which shows which faces are detected through three different facial d
|
||||||
|
|
||||||
The installation in Windows can be done, though it is quite elaborate:
|
The installation in Windows can be done, though it is quite elaborate:
|
||||||
|
|
||||||
* Install python3
|
* Install python3.8
|
||||||
* Install VS C++ build tools
|
* Install VS C++ build tools
|
||||||
* Install Cmake (needed for python dlib)
|
* Install Cmake (needed for python dlib)
|
||||||
+ make sure to add it to path
|
+ make sure to add it to path
|
||||||
|
@ -40,9 +40,7 @@ The installation in Windows can be done, though it is quite elaborate:
|
||||||
+ Make the installer:
|
+ Make the installer:
|
||||||
* Either one of:
|
* 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'`
|
* `& '.\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' --hidden-import 'scipy.spatial.transform._rotation_groups' --hidden-import 'skimage.filters.rank.core_cy_3d'`
|
||||||
|
|
||||||
* `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
|
||||||
- make sure wine is set to pose as Windows 10 (`winecfg`)
|
- make sure wine is set to pose as Windows 10 (`winecfg`)
|
||||||
|
|
|
@ -1,8 +1,25 @@
|
||||||
scipy
|
altgraph==0.17
|
||||||
numpy
|
cffi==1.14.4
|
||||||
dlib
|
cycler==0.10.0
|
||||||
Pillow
|
decorator==4.4.2
|
||||||
opencv-python
|
dlib==19.21.1
|
||||||
cffi
|
future==0.18.2
|
||||||
scikit-image
|
imageio==2.9.0
|
||||||
pyinstaller
|
kiwisolver==1.3.1
|
||||||
|
matplotlib==3.3.3
|
||||||
|
networkx==2.5
|
||||||
|
numpy==1.19.3
|
||||||
|
opencv-python==4.5.1.48
|
||||||
|
pefile==2019.4.18
|
||||||
|
Pillow==8.1.0
|
||||||
|
pycparser==2.20
|
||||||
|
pyinstaller==4.1
|
||||||
|
pyinstaller-hooks-contrib==2020.11
|
||||||
|
pyparsing==2.4.7
|
||||||
|
python-dateutil==2.8.1
|
||||||
|
PyWavelets==1.1.1
|
||||||
|
pywin32-ctypes==0.2.0
|
||||||
|
scikit-image==0.18.1
|
||||||
|
scipy==1.6.0
|
||||||
|
six==1.15.0
|
||||||
|
tifffile==2020.12.8
|
Loading…
Reference in a new issue