Changeset 937:aef37697026f


Ignore:
Timestamp:
04/28/19 17:30:02 (3 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makeinst.sh

    r934 r937  
    22
    33#set MSVCRDIR=c:\windows\winsxs\x86_Microsoft.VC90.CRT*9.0.21022.8*
    4 export GTKRTDIR=/mingw32
    5 export CEFDIR=/mingw32/lib/python3.7/site-packages/cefpython3
     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
    621#set CHROMEDRIVER=c:\tmp\chromedriver.exe
    7 #set NSISDIR=C:\Program Files\NSIS
     22    export NSISDIR=/c/Program Files/NSIS
    823
    9 python3 setup.py py2exe
     24    python3 setup.py py2exe
     25    "$NSISDIR/makensis.exe" mlx.nsi
     26fi
    1027
    1128#del dist\library\selenium\webdriver\chrome\service.pyc
     
    1330#python -m compileall dist\library\selenium\webdriver\chrome\service.py
    1431#del dist\library\selenium\webdriver\chrome\service.py
    15 
    16 #"%NSISDIR%\makensis" mlx.nsi
Note: See TracChangeset for help on using the changeset viewer.