python3
Rev | Line | |
---|
[920] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | set -e -u
|
---|
| 4 |
|
---|
| 5 | echo "Building PyWin32"
|
---|
| 6 |
|
---|
| 7 | cd /build
|
---|
| 8 |
|
---|
| 9 | wget -O - https://github.com/mhammond/pywin32/archive/b224.tar.gz | gzip -dc | tar xf -
|
---|
| 10 | cd pywin32-b224
|
---|
| 11 | patch -p1 < ../pywin32git.patch
|
---|
| 12 | patch -p1 < ../pywin32.patch
|
---|
| 13 | python3 setup.py build
|
---|
| 14 | python3 setup.py install
|
---|
| 15 |
|
---|
| 16 | echo "Building CEFPython"
|
---|
| 17 |
|
---|
| 18 | cd /build
|
---|
| 19 |
|
---|
| 20 | wget -O - http://opensource.spotify.com/cefbuilds/cef_binary_3.3359.1774.gd49d25f_windows32.tar.bz2 | bzip2 -dc | tar xf -
|
---|
| 21 | cd cef_binary_3.3359.1774.gd49d25f_windows32
|
---|
| 22 |
|
---|
| 23 | patch -p1 < ../cef_binary_3.3359.1774.gd49d25f_windows32.patch
|
---|
| 24 | mv tests tests.orig
|
---|
| 25 |
|
---|
| 26 | mkdir build
|
---|
| 27 | cd build
|
---|
| 28 | /usr/bin/env PATH=/mingw32/bin:/usr/local/bin::/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0 cmake -G "MinGW Makefiles" ..
|
---|
| 29 | cd libcef_dll_wrapper
|
---|
| 30 | mingw32-make
|
---|
| 31 |
|
---|
| 32 | cd /build
|
---|
| 33 |
|
---|
| 34 | wget -O - https://github.com/cztomczak/cefpython/archive/v66.0.tar.gz | gzip -dc | tar xf -
|
---|
| 35 | cd cefpython-66.0
|
---|
| 36 |
|
---|
| 37 | patch -p1 < ../cefpython-66.0.patch
|
---|
| 38 |
|
---|
| 39 | mkdir -p build
|
---|
| 40 | cd build
|
---|
| 41 |
|
---|
| 42 | wget https://github.com/cztomczak/cefpython/releases/download/v66-upstream/cef66_3.3359.1774.gd49d25f_win32.zip
|
---|
| 43 | unzip cef66_3.3359.1774.gd49d25f_win32.zip
|
---|
| 44 | rm cef66_3.3359.1774.gd49d25f_win32.zip
|
---|
| 45 |
|
---|
| 46 | cp /build/cef_binary_3.3359.1774.gd49d25f_windows32/build/libcef_dll_wrapper/libcef_dll_wrapper.a cef66_3.3359.1774.gd49d25f_win32/lib
|
---|
| 47 |
|
---|
| 48 | pip3 install -r ../tools/requirements.txt
|
---|
| 49 |
|
---|
| 50 | python3 ../tools/build.py --no-run-tests --no-run-examples 66.0 || true
|
---|
| 51 | python3 ../tools/build.py --no-run-tests --no-run-examples 66.0
|
---|
| 52 |
|
---|
| 53 | echo "Building Py2EXE"
|
---|
| 54 |
|
---|
| 55 | cd /build
|
---|
| 56 |
|
---|
| 57 | wget -O - https://github.com/albertosottile/py2exe/archive/v0.9.3.0.tar.gz | gzip -dc | tar xf -
|
---|
| 58 | cd py2exe-0.9.3.0
|
---|
| 59 | patch -p1 < ../py2exe.patch
|
---|
| 60 | python3 setup.py build
|
---|
| 61 | python3 setup.py install
|
---|
| 62 |
|
---|
[976] | 63 | echo "Archiving msys64 directory"
|
---|
| 64 | cd /c
|
---|
| 65 | tar czf - msys64 | ssh -i /c/msys64/build/id_rsa -o StrictHostKeyChecking=no ivaradi@mises.varadiistvan.hu mlx/www/update/msys64.sh
|
---|
Note:
See
TracBrowser
for help on using the repository browser.