source: makeinst.sh@ 1000:64355debf74a

python3
Last change on this file since 1000:64355debf74a was 937:aef37697026f, checked in by István Váradi <ivaradi@…>, 6 years ago

makeinst.sh calls NSIS as well (re #347)

  • Property exe set to *
File size: 1.0 KB
Line 
1#!/bin/bash
2
3#set MSVCRDIR=c:\windows\winsxs\x86_Microsoft.VC90.CRT*9.0.21022.8*
4if test "${WINE}" = "yes"; then
5 cdrive="/root/.wine/drive_c/"
6 MINGW32DIR="c:/msys64/mingw32"
7
8 export GTKRTDIR="${MINGW32DIR}"
9 export CEFDIR="${MINGW32DIR}/lib/python3.7/site-packages/cefpython3"
10
11 export PYTHONHASHSEED=1234
12 export PYTHONIOENCODING=utf8
13 export PYTHONUTF8=1
14
15 wine "${cdrive}/msys64/mingw32/bin/python3.exe" setup.py py2exe
16
17 wine "${cdrive}/Program Files/NSIS/makensis.exe" mlx.nsi
18else
19 export GTKRTDIR=/mingw32
20 export CEFDIR=/mingw32/lib/python3.7/site-packages/cefpython3
21#set CHROMEDRIVER=c:\tmp\chromedriver.exe
22 export NSISDIR=/c/Program Files/NSIS
23
24 python3 setup.py py2exe
25 "$NSISDIR/makensis.exe" mlx.nsi
26fi
27
28#del dist\library\selenium\webdriver\chrome\service.pyc
29#copy patches\library\selenium\webdriver\chrome\service.py dist\library\selenium\webdriver\chrome\service.py
30#python -m compileall dist\library\selenium\webdriver\chrome\service.py
31#del dist\library\selenium\webdriver\chrome\service.py
Note: See TracBrowser for help on using the repository browser.