-
-
Notifications
You must be signed in to change notification settings - Fork 476
Support for Python 3.4 / 3.5 / 3.6 #121
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
Comments
Hi |
It is now March, 2016... |
Still waiting for Python 3.5 for OS X 10.7+ |
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.
Improve shutting down cleanly with ExceptHook. Fix issue with str/bytes passed to Debug() function (#110).
others. This is CEF Python 55.1 beta release with Chrome 55 from beta channel. Add support for Python 3.6 (#121). Update to Cython 0.25.1 (#110). Build cefpython .so modules using clean Python installations as in pyenv to avoid invalid symbols being embedded in the .so module (#266). Update CEF include/. Update patches/. Update compile.py. Run unit tests first and don't run gtk3 example temporarily until #261 is fixed. Check if Cython version installed is the same as specified in tools/requirements.txt. Update examples - print filename when logging messages.
Any news on Python 3 for windows? |
Windows Support for Python 3 would be HUGE! |
This issue might also be relevant for the windows platform, although it seems it only covers Python 2: #294 |
@carlosperate could you tell me the release time of windows 55+? |
I'm not the maintainer, will have to ask @cztomczak that. |
@cztomczak could you tell me the release time of windows 55+? |
v56.0 for Mac with Python 3 support released, see: https://github.com/cztomczak/cefpython/releases/tag/v56.0 |
…... Currently tested with Python 3.4. There are still required changes to automate.py tool to generate libcef_dll_wrapper libraries for all Python 2 and 3 compilers (VS2008, VS2010, VS2015). Update build instructions for Windows. Generate and use cefpython_fixed.h so that recompilation of C++ projects doesn't happen each time when rebuilding the cefpython module. Update README. Add requirements for all platforms. Fix incomplete pip install command.
Tested using Python 3.4 / 3.5 / 3.6. Only 32-bit. Everything works good. Update tools for Python 3. On Windows build.py tool will call build_cpp_projects.py to build C++ projects. On Linux and Mac C++ projects are built using Makefiles. There are still deprecated .vcproj files across directories, however they are all deprecated and not used anymore. automate.py --prebuilt-cef works on Python 3. However --build-cef depends on upstream automate-git.py which supports only Python 2. Minor fixes to build instructions.
Added Python 3 support on Windows in commits 5f24f50 and 7e4d587.
|
FYI, I was able to reproduce the successful windows build with Python 3.4. Thank you very very much for the good installation documentation. ❤️ |
v56.0 for Windows released with Python 3 support and both 32-bit and 64-bit platforms support. See GH release: https://github.com/cztomczak/cefpython/releases/tag/v56.0-win |
Python 3 is now supported on all platforms. See GH releases pages or install using pip. |
Update 4:
v56.0 for Windows released with Python 3 support and both 32-bit and 64-bit platforms support, see:
https://github.com/cztomczak/cefpython/releases/tag/v56.0-win
Update 3:
v56.0 for Mac with Python 3 support released, see: https://github.com/cztomczak/cefpython/releases/tag/v56.0
Update 2:
Python 3.6 support added in v55.1 release for Linux:
https://github.com/cztomczak/cefpython/releases/tag/v55.1
Update 1:
Python 3 beta release for Linux:
https://github.com/cztomczak/cefpython/releases/tag/v53.1
Tested with Python 3.4.5 / 3.5.2 and Cython 0.24.1 on Ubuntu 14.04. Only hello_world.py and unit tests were run and do work fine. Other examples may work but were not tested.
To compile with Python 3.4 it is required to update Cython to version 0.20 or later which added support for CPython 3.4. Update related to Cython upgrade will be occuring in Issue #110.
Still TODO:
-I/usr/include/Python2.7
. Currently it somehow works on Python 3 with the Python 2.7 include path. There are only a few macros in cefpython.h like PY_LONG_LONG and PyMODINIT_FUNC and these seem to be the same for Python 2 and 3. However a proper fix should be done. We could implement this as part of Issue Create tools/build.py. Automate building C++ libs and subprocess and make it cross-platform. Windows platform already supported. #210 (Use CMake and Ninja on all platforms ).The text was updated successfully, but these errors were encountered: