Changeset 976:69bc5891e14d for docker/msys/setup.sh
- Timestamp:
- 05/24/19 18:31:43 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docker/msys/setup.sh
r920 r976 3 3 set -e -u 4 4 5 pacman -S --noconfirm mc patch unzip mingw-w64-i686-python3 mingw-w64-i686-python3-setuptools mingw-w64-i686-gcc mingw-w64-i686-gtk3 mingw-w64-i686-python3-lxml mingw-w64-i686-cmake mingw-w64-i686-make mingw-w64-i686-python3-pip mingw-w64-i686-python3-pillow mingw-w64-i686-python3-gobject mingw-w64-i686-python3-cffi 5 echo "Installing extra packages..." 6 7 pacman -S --noconfirm mc patch unzip openssh ca-certificates mingw-w64-i686-python3 mingw-w64-i686-python3-setuptools mingw-w64-i686-gcc mingw-w64-i686-gtk3 mingw-w64-i686-python3-lxml mingw-w64-i686-cmake mingw-w64-i686-make mingw-w64-i686-python3-pip mingw-w64-i686-python3-pillow mingw-w64-i686-python3-gobject mingw-w64-i686-python3-cffi 6 8 pacman -Scc --noconfirm 7 9 8 10 pip3 install jsonrpclib-pelix 9 10 echo "Building PyWin32"11 12 cd /build13 14 wget -O - https://github.com/mhammond/pywin32/archive/b224.tar.gz | gzip -dc | tar xf -15 cd pywin32-b22416 patch -p1 < ../pywin32git.patch17 patch -p1 < ../pywin32.patch18 python3 setup.py build19 python3 setup.py install20 21 echo "Building CEFPython"22 23 cd /build24 25 wget -O - http://opensource.spotify.com/cefbuilds/cef_binary_3.3359.1774.gd49d25f_windows32.tar.bz2 | bzip2 -dc | tar xf -26 cd cef_binary_3.3359.1774.gd49d25f_windows3227 28 patch -p1 < ../cef_binary_3.3359.1774.gd49d25f_windows32.patch29 mv tests tests.orig30 31 mkdir build32 cd build33 /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" ..34 cd libcef_dll_wrapper35 mingw32-make36 37 cd /build38 39 wget -O - https://github.com/cztomczak/cefpython/archive/v66.0.tar.gz | gzip -dc | tar xf -40 cd cefpython-66.041 42 patch -p1 < ../cefpython-66.0.patch43 44 mkdir -p build45 cd build46 47 wget https://github.com/cztomczak/cefpython/releases/download/v66-upstream/cef66_3.3359.1774.gd49d25f_win32.zip48 unzip cef66_3.3359.1774.gd49d25f_win32.zip49 rm cef66_3.3359.1774.gd49d25f_win32.zip50 51 cp /build/cef_binary_3.3359.1774.gd49d25f_windows32/build/libcef_dll_wrapper/libcef_dll_wrapper.a cef66_3.3359.1774.gd49d25f_win32/lib52 53 pip3 install -r ../tools/requirements.txt54 55 python3 ../tools/build.py --no-run-tests --no-run-examples 66.0 || true56 python3 ../tools/build.py --no-run-tests --no-run-examples 66.057 58 echo "Building Py2EXE"59 60 cd /build61 62 wget -O - https://github.com/albertosottile/py2exe/archive/v0.9.3.0.tar.gz | gzip -dc | tar xf -63 cd py2exe-0.9.3.064 patch -p1 < ../py2exe.patch65 python3 setup.py build66 python3 setup.py install67 68 cd /69 rm -rf /build
Note:
See TracChangeset
for help on using the changeset viewer.