-
-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create examples/ root dir - simplify and unify examples to work on all platforms #207
Comments
cztomczak
changed the title
Create examples/ directory in repo's root directory
Create examples/ root dir - simplify and unify examples to work on all platforms
Jun 30, 2016
cztomczak
added a commit
that referenced
this issue
Sep 17, 2016
Add hello_world.py example (#207). Update to Cython 0.24.1 (#110). Test with Python 3.4.5 (#121) on Ubuntu 14.04 by running the hello_world.py example. No other examples were run, so there still may be bugs. Expose new funcs in the cefpython module: CreateBrowser, ExceptHook, GetAppPath. Add --fast flag to compile.py for faster build time of the cefpython module. Don't use it for building official binary distrib.
Added hello_world.py example in commit 6f0d9b3. |
With the new v56 release for Mac this task is finally complete. Examples from the examples/ directory do run on all platforms. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Old examples
Currently examples are spread across multiple directories like "windows/binaries_32bit/" (and 64bit/), "linux/binaries_32bit" (and 64bit/), "mac/binaries_64bit". There are also three wx.chromectrl examples in "wx-subpackage/examples/".
All these examples should go to a single "examples/" directory in repo root directory with subdirectories named after each third party library:
New examples
Examples for python packagers
This directory should also include examples of integrating python packagers:
Other examples
Other examples would include breakpad crash reporting and chromedriver tool for automated testing:
wxPython/ directory
Each examples directory should contain a "README.md" stating what example exactly does and which platforms it supports. The goal is for every example to run on all platforms, but this will take time. Example contents of the "wxPython/" examples directory:
See also
Helper functions
Make helper functions (GetApplicationPath and ExceptHook) part of the cefpython package and import them using
import * from cefpython.helpers
. In GetApplicationPath get rid of this lineelif "__file__" in globals():
and only detect directory using getcwd() and "frozen".The text was updated successfully, but these errors were encountered: