Skip to content

Commit efdef0e

Browse files
committed
Update build instructions for the v53 release and update setup scripts.
1 parent 8bd800f commit efdef0e

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

docs/Build-instructions.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Build instructions
22

3-
__NOTE__: These instructions are for the master branch (Chrome 51).
3+
__IMPORTANT NOTE__: These instructions are for the new releases of CEF Python
4+
(Chrome v51 and later). Currently only Linux platform is being tested.
5+
For the old v31 release that is supported on all platforms, see build
6+
instructions on the wiki pages.
47

58
There are several types of builds you can perform:
69

@@ -18,7 +21,7 @@ listed on this page.
1821

1922

2023
Table of contents:
21-
* [Build CEF Python 51 BETA](#build-cef-python-51-beta)
24+
* [Build CEF Python 53 BETA on Linux](#build-cef-python-51-beta-on-linux)
2225
* [Requirements](#requirements)
2326
* [Build CEF Python using prebuilt CEF binaries](#build-cef-python-using-prebuilt-cef-binaries)
2427
* [Build both CEF Python and CEF from sources](#build-both-cef-python-and-cef-from-sources)
@@ -27,9 +30,9 @@ Table of contents:
2730
* [How to patch](#how-to-patch)
2831

2932

30-
## Build CEF Python 51 BETA
33+
## Build CEF Python 53 BETA on Linux
3134

32-
Complete steps for building CEF Python 51 using prebuilt
35+
Complete steps for building CEF Python 53 using prebuilt
3336
binaries from GH releases.
3437

3538
1) Tested and works fine on Ubuntu 14.04 64-bit (cmake 2.8.12 and g++ 4.8.4)
@@ -45,7 +48,7 @@ binaries from GH releases.
4548

4649
5) Download 64-bit Linux binaries and libraries from
4750
[GH releases](https://github.com/cztomczak/cefpython/releases)
48-
tagged 'v51-upstream'.
51+
tagged 'v53-upstream'.
4952

5053

5154
6) Copy "bin/*" to "cefpython/src/linux/binaries_64bit/"
@@ -55,7 +58,7 @@ binaries from GH releases.
5558
8) Build cefpython:
5659
```
5760
cd cefpython/src/linux/
58-
python compile.py 51.0
61+
python compile.py 53.0
5962
```
6063

6164
9) As of writing only "pygtk_.py" and "kivy_.py" examples are working

src/linux/installer/make-setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ def main():
136136
ret = os.system("mv "+package_dir+"/*.html "+package_dir+"/examples/")
137137
ret = os.system("mv "+package_dir+"/*.js "+package_dir+"/examples/")
138138
ret = os.system("mv "+package_dir+"/*.css "+package_dir+"/examples/")
139+
ret = os.system("mv "+package_dir+"/*.png "+package_dir+"/examples/")
140+
ret = os.system("mv "+package_dir+"/kivy-dragdrop.txt "\
141+
+package_dir+"/examples/")
139142
assert ret == 0
140143

141144
print("Copying wx/ to package dir")

src/linux/installer/setup.py.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ setup(
7676
'examples/*.html',
7777
'examples/*.js',
7878
'examples/*.css',
79+
'examples/*.png',
80+
'examples/*.txt',
7981
'examples/kivy-select-boxes/*.html',
8082
'examples/kivy-select-boxes/*.js',
8183
'examples/kivy-select-boxes/*.css',

0 commit comments

Comments
 (0)