[MacPorts] #58768: Now that py27-webkitgtk is deprecated, how can I import webkit into python.
MacPorts
noreply at macports.org
Sat Aug 10 16:07:31 UTC 2019
#58768: Now that py27-webkitgtk is deprecated, how can I import webkit into python.
---------------------------+--------------------
Reporter: Khaldone | Owner: (none)
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-webkitgtk |
---------------------------+--------------------
Comment (by elelay):
Does the MP webkit-gtk3 port provide gobject bindings?
If so, you can use it as in
{{{#!python
import gi
gi.require_version('WebKit2', '4.0')
from gi.repository import WebKit2
}}}
then search for WebKit2 python examples.
For instance in
[https://github.com/gpodder/gpodder/blob/master/src/gpodder/gtkui/shownotes.py
gPodder]
--
Ticket URL: <https://trac.macports.org/ticket/58768#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list