Skip to content

Commit edac70b

Browse files
committed
Update README - important notes, notifications on new releases and others.
Update the "Changes in API during updates" section. Update examples/ with comments that specify CEF Python version these examples were tested with.
1 parent 387f386 commit edac70b

File tree

4 files changed

+39
-12
lines changed

4 files changed

+39
-12
lines changed

README.md

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,29 @@
55
[![](https://img.shields.io/badge/pypi-v31.2-blue.png "PyPI latest release")](https://pypi.python.org/pypi/cefpython3/)
66
[![](https://img.shields.io/badge/commits%20since-v31.2-lightgray.png "Commits since v31.2 release")](https://github.com/cztomczak/cefpython/compare/05366f2...master)
77

8-
__Important notes__:
9-
* Branches cefpython51/52/53+ with latest Chrome are tested and work only on Linux currently.
10-
Instructions for building these are in docs/[Build-instructions.md](docs/Build-instructions.md)
11-
* The last stable release that works on all platforms is in the cefpython31 branch.
12-
Up-to-date API docs for the cefpython31 branch can be viewed in commit [169a1b2](https://github.com/cztomczak/cefpython/tree/169a1b20d3cd09879070d41aab28cfa195d2a7d5/docs/api).
13-
* Repository rewritten on 2016-02-15 to reduce its size. Please clone it again.
14-
158
Table of contents:
9+
* [Important notes](#important-notes)
1610
* [Introduction](#introduction)
1711
* [Compatibility](#compatibility)
1812
* [Downloads](#downloads)
1913
* [Support](#support)
14+
* [Notifications on new releases](#notifications-on-new-releases)
2015
* [Changes in API during updates](#changes-in-api-during-updates)
2116
* [Donate](#donate)
2217

18+
## Important notes
19+
20+
* Branches cefpython51/52/53+ with latest Chrome are tested and work only
21+
on Linux currently. Instructions for building these are
22+
in docs/[Build-instructions.md](docs/Build-instructions.md).
23+
Beta downloads are available on the [Github Releases](../../releases) page.
24+
Pre-releases are also available on PyPI.
25+
* The last stable release that works on all platforms is in the cefpython31
26+
branch. Downloads for this branch are available on wiki pages. Up-to-date
27+
API docs for the cefpython31 branch can be viewed in commit
28+
[169a1b2](https://github.com/cztomczak/cefpython/tree/169a1b20d3cd09879070d41aab28cfa195d2a7d5/docs/api).
29+
* Repository rewritten on 2016-02-15 to reduce its size. Please clone it again.
30+
2331

2432
## Introduction
2533

@@ -35,7 +43,8 @@ Some use cases for CEF:
3543

3644
## Compatibility
3745

38-
* Supported Python versions: 2.7. For Python 3.4 / 3.5 support see [Issue #121](../../issues/121).
46+
* Supported Python versions: 2.7
47+
(for Python 3.4 / 3.5 support see [Issue #121](../../issues/121)).
3948
* Supported platforms: Windows, Linux, Mac. Both 32bit and 64bit binaries are available for all platforms.
4049

4150

@@ -48,8 +57,8 @@ On Win/Mac you can install from PyPI using this command:
4857
* For Linux: see the [Download_CEF3_Linux](../../wiki/Download_CEF3_Linux) wiki page.
4958
* For Mac: see the [Download_CEF3_Mac](../../wiki/Download_CEF3_Mac) wiki page.
5059

51-
__New releases RSS/Atom feed__<br>
52-
To be notified of new releases subscribe to this [Atom feed](https://github.com/cztomczak/cefpython/releases.atom).
60+
To be notified when new downloads are available see the
61+
[Notifications on new releases](#notifications-on-new-releases) section.
5362

5463

5564
## Support
@@ -64,6 +73,17 @@ To be notified of new releases subscribe to this [Atom feed](https://github.com/
6473
* Please do not ask questions in the Issue Tracker
6574

6675

76+
## Notifications on new releases
77+
78+
To be notified of new releases subscribe to this
79+
[RSS/Atom feed](https://github.com/cztomczak/cefpython/releases.atom).
80+
81+
Announcements are also made on the
82+
[Forum](https://groups.google.com/d/forum/cefpython).
83+
To be notified of these via email set your Membership and Email settings
84+
and change delivery preference to Daily summaries.
85+
86+
6787
## Changes in API during updates
6888

6989
CEF Python depends on CEF and API breaks are inevitable when updating
@@ -73,6 +93,12 @@ and check release notes for all the releases that appeared between
7393
your old version and the new version. Look for lists named
7494
"Changes in API that break backward compatibility".
7595

96+
Due to unavoidable changes in API it is recommended for your setup scripts
97+
that use for example PIP to install the cefpython3 package, to hardcode
98+
the cefpython version string. If for example using PIP's requirements.txt
99+
file then list the cefpython3 package in the following format:
100+
`cefpython3 == 31.2`.
101+
76102

77103
## Donate
78104

examples/gtk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Example of embedding CEF Python browser using PyGObject/Gtk library.
2-
# Tested with GTK 3.10.
2+
# Tested with GTK 3.10 and CEF Python v53+.
33

44
from cefpython3 import cefpython as cef
55
# noinspection PyUnresolvedReferences

examples/hello_world.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Hello world example. Doesn't depend on any third party GUI framework.
2+
# Tested with CEF Python v53+.
23

34
from cefpython3 import cefpython as cef
45
import sys

examples/tkinter_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Example of embedding CEF Python browser using Tkinter toolkit.
22
# This example has two widgets: a navigation bar and a browser.
3-
# Tested with Tk 8.6.
3+
# Tested with Tk 8.6 and CEF Python v53+.
44

55
# TODO: url entry loses keyboard focus when mouse hovers over browser (#255)
66

0 commit comments

Comments
 (0)