@@ -48,7 +48,10 @@ Before you can build CEF Python or CEF you must satisfy
48
48
## Quick build instructions for Windows
49
49
50
50
Complete 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.
52
55
53
56
1 ) Tested and works fine on Windows 7 64-bit
54
57
@@ -65,10 +68,12 @@ prebuilt binaries and libraries from GitHub Releases:
65
68
you have to install "Visual C++ 2008 Redistributable Package (x64)"
66
69
from [ here] ( https://www.microsoft.com/en-us/download/details.aspx?id=15336 )
67
70
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:
69
73
```
70
74
git clone https://github.com/cztomczak/cefpython.git
71
75
cd cefpython/
76
+ git checkout cefpython57
72
77
mkdir build/
73
78
cd build/
74
79
```
@@ -80,7 +85,7 @@ pip install --upgrade -r ../tools/requirements.txt
80
85
81
86
8 ) Download Windows binaries and libraries from
82
87
[ 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
84
89
of the binaries must match exactly the CEF version from
85
90
the "cefpython/src/version/cef_version_win.h" file
86
91
(the CEF_VERSION constant).
@@ -96,7 +101,10 @@ python ../tools/build.py xx.x
96
101
## Quick build instructions for Linux
97
102
98
103
Complete 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.
100
108
101
109
1 ) Tested and works fine on Ubuntu 14.04 64-bit
102
110
@@ -109,10 +117,12 @@ binaries and libraries from GitHub Releases:
109
117
sudo apt-get install python-dev cmake g++ libgtk2.0-dev
110
118
```
111
119
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:
113
122
```
114
123
git clone https://github.com/cztomczak/cefpython.git
115
124
cd cefpython/
125
+ git checkout cefpython57
116
126
mkdir build/
117
127
cd build/
118
128
```
@@ -124,7 +134,7 @@ sudo pip install --upgrade -r ../tools/requirements.txt
124
134
125
135
6 ) Download Linux binaries and libraries from
126
136
[ 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
128
138
of the binaries must match exactly the CEF version from
129
139
the "cefpython/src/version/cef_version_linux.h" file
130
140
(the CEF_VERSION constant).
@@ -225,17 +235,22 @@ requirements common for all platforms.
225
235
226
236
## Build using prebuilt CEF binaries and libraries
227
237
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:
229
243
```
230
244
git clone https://github.com/cztomczak/cefpython.git
231
245
cd cefpython/
246
+ git checkout cefpython57
232
247
mkdir build/
233
248
cd build/
234
249
```
235
250
236
251
2 ) Download binaries and libraries from
237
252
[ 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
239
254
of the binaries must match exactly the CEF version from
240
255
the "cefpython/src/version/" directory (look for CEF_VERSION
241
256
constant in .h file).
@@ -251,10 +266,15 @@ python ../tools/build.py xx.x
251
266
252
267
## Build using CEF binaries from Spotify Automated Builds
253
268
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:
255
274
```
256
275
git clone https://github.com/cztomczak/cefpython.git
257
276
cd cefpython/
277
+ git checkout cefpython57
258
278
mkdir build/
259
279
cd build/
260
280
```
@@ -306,13 +326,21 @@ time you update to newer CEF.
306
326
On Linux if there are errors about missing packages or others,
307
327
then see solutions in the [ Possible errors] ( #possible-errors ) section.
308
328
329
+
309
330
The commands below will build CEF from sources with custom CEF Python
310
331
patches applied and then build the CEF Python package. "xx.x" is version
311
332
number 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
+
313
340
```
314
341
git clone https://github.com/cztomczak/cefpython.git
315
342
cd cefpython/
343
+ git checkout cefpython57
316
344
mkdir build/
317
345
cd build/
318
346
python ../tools/automate.py --build-cef --ninja-jobs 4
0 commit comments