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:
|
||||
|
||||
* Install python3
|
||||
* Install python3.8
|
||||
* Install VS C++ build tools
|
||||
* Install Cmake (needed for python dlib)
|
||||
+ 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:
|
||||
* 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'`
|
||||
* `& '.\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\'`
|
||||
* `& '.\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'`
|
||||
* `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
|
||||
- make sure wine is set to pose as Windows 10 (`winecfg`)
|
||||
|
|
|
@ -1,8 +1,25 @@
|
|||
scipy
|
||||
numpy
|
||||
dlib
|
||||
Pillow
|
||||
opencv-python
|
||||
cffi
|
||||
scikit-image
|
||||
pyinstaller
|
||||
altgraph==0.17
|
||||
cffi==1.14.4
|
||||
cycler==0.10.0
|
||||
decorator==4.4.2
|
||||
dlib==19.21.1
|
||||
future==0.18.2
|
||||
imageio==2.9.0
|
||||
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