@@ -48,7 +48,10 @@ Before you can build CEF Python or CEF you must satisfy
4848## Quick build instructions for Windows
4949
5050Complete steps for building CEF Python v50+ with Python 2.7 using
51- prebuilt binaries and libraries from GitHub Releases:
51+ prebuilt binaries and libraries from GitHub Releases.
52+
53+ When cloning repository you should checkout a stable branch which
54+ are named "cefpythonXX" where XX is Chromium version number.
5255
53561 ) Tested and works fine on Windows 7 64-bit
5457
@@ -65,10 +68,12 @@ prebuilt binaries and libraries from GitHub Releases:
6568 you have to install "Visual C++ 2008 Redistributable Package (x64)"
6669 from [ here] ( https://www.microsoft.com/en-us/download/details.aspx?id=15336 )
6770
68- 6 ) Clone cefpython and create a build/ directory and enter it:
71+ 6 ) Clone cefpython, checkout for example "cefpython57" branch
72+ that includes Chromium v57, then create a build/ directory and enter it:
6973```
7074git clone https://github.com/cztomczak/cefpython.git
7175cd cefpython/
76+ git checkout cefpython57
7277mkdir build/
7378cd build/
7479```
@@ -80,7 +85,7 @@ pip install --upgrade -r ../tools/requirements.txt
8085
81868 ) Download Windows binaries and libraries from
8287 [ GH releases] ( https://github.com/cztomczak/cefpython/tags )
83- tagged e.g. 'v55 -upstream' when building v55 . The version
88+ tagged e.g. 'v57 -upstream' when building v57 . The version
8489 of the binaries must match exactly the CEF version from
8590 the "cefpython/src/version/cef_version_win.h" file
8691 (the CEF_VERSION constant).
@@ -96,7 +101,10 @@ python ../tools/build.py xx.x
96101## Quick build instructions for Linux
97102
98103Complete steps for building CEF Python v50+ using prebuilt
99- binaries and libraries from GitHub Releases:
104+ binaries and libraries from GitHub Releases.
105+
106+ When cloning repository you should checkout a stable branch which
107+ are named "cefpythonXX" where XX is Chromium version number.
100108
1011091 ) Tested and works fine on Ubuntu 14.04 64-bit
102110
@@ -109,10 +117,12 @@ binaries and libraries from GitHub Releases:
109117sudo apt-get install python-dev cmake g++ libgtk2.0-dev
110118```
111119
112- 4 ) Clone cefpython and create build/ directory and enter it:
120+ 4 ) Clone cefpython, checkout for example "cefpython57" branch
121+ that includes Chromium v57, then create build/ directory and enter it:
113122```
114123git clone https://github.com/cztomczak/cefpython.git
115124cd cefpython/
125+ git checkout cefpython57
116126mkdir build/
117127cd build/
118128```
@@ -124,7 +134,7 @@ sudo pip install --upgrade -r ../tools/requirements.txt
124134
1251356 ) Download Linux binaries and libraries from
126136 [ GH releases] ( https://github.com/cztomczak/cefpython/tags )
127- tagged e.g. 'v55 -upstream' when building v55 . The version
137+ tagged e.g. 'v57 -upstream' when building v57 . The version
128138 of the binaries must match exactly the CEF version from
129139 the "cefpython/src/version/cef_version_linux.h" file
130140 (the CEF_VERSION constant).
@@ -225,17 +235,22 @@ requirements common for all platforms.
225235
226236## Build using prebuilt CEF binaries and libraries
227237
228- 1 ) Clone cefpython and create a build/ directory and enter it:
238+ When cloning repository you should checkout a stable branch which
239+ are named "cefpythonXX" where XX is Chromium version number.
240+
241+ 1 ) Clone cefpython, checkout for example "cefpython57" branch
242+ that includes Chromium v57, then create a build/ directory and enter it:
229243```
230244git clone https://github.com/cztomczak/cefpython.git
231245cd cefpython/
246+ git checkout cefpython57
232247mkdir build/
233248cd build/
234249```
235250
2362512 ) Download binaries and libraries from
237252 [ GH releases] ( https://github.com/cztomczak/cefpython/tags )
238- tagged eg. 'v55 -upstream' when building v55 . The version
253+ tagged eg. 'v57 -upstream' when building v57 . The version
239254 of the binaries must match exactly the CEF version from
240255 the "cefpython/src/version/" directory (look for CEF_VERSION
241256 constant in .h file).
@@ -251,10 +266,15 @@ python ../tools/build.py xx.x
251266
252267## Build using CEF binaries from Spotify Automated Builds
253268
254- 1 ) Clone cefpython and create a build/ directory and enter it:
269+ When cloning repository you should checkout a stable branch which
270+ are named "cefpythonXX" where XX is Chromium version number.
271+
272+ 1 ) Clone cefpython, checkout for example "cefpython57" branch
273+ that includes Chromium v57, then create a build/ directory and enter it:
255274```
256275git clone https://github.com/cztomczak/cefpython.git
257276cd cefpython/
277+ git checkout cefpython57
258278mkdir build/
259279cd build/
260280```
@@ -306,13 +326,21 @@ time you update to newer CEF.
306326On Linux if there are errors about missing packages or others,
307327then see solutions in the [ Possible errors] ( #possible-errors ) section.
308328
329+
309330The commands below will build CEF from sources with custom CEF Python
310331patches applied and then build the CEF Python package. "xx.x" is version
311332number and "ninja-jobs 4" means to run 4 parallel jobs for compiling,
312- increase it if you have more CPU cores and want things to build faster:
333+ increase it if you have more CPU cores and want things to build faster.
334+
335+ The commands below checkout for example "cefpython57" branch that
336+ includes Chromium v57. When cloning repository you should checkout
337+ a stable branch which are named "cefpythonXX" where XX is Chromium
338+ version number.
339+
313340```
314341git clone https://github.com/cztomczak/cefpython.git
315342cd cefpython/
343+ git checkout cefpython57
316344mkdir build/
317345cd build/
318346python ../tools/automate.py --build-cef --ninja-jobs 4
0 commit comments