Hi,

On Tue, Sep 25, 2012 at 02:50:33AM +1000, Patrick Shirkey wrote:
> Hi,
> 
> In the process of trying to build the pyclutter repo I come up against
> this error. I have the latest clutter pull built against cogl-1.10 branch
> so I'm not sure why pyclutter is not happy. It looks like it wants a newer
> version of cogl but that conflicts with the master branch on the clutter
> repo.

the static pyclutter bindings are deprecated in favor of
gobject-introspection and aren't tested with recent clutter and cogl
versions. The modern way to use clutter in Python is by using a recent
PyGObject version in conjunction with the necessary typelib files.

>>> from gi.repository import Clutter # <- new-style gobject-introspection
>>> import clutter # <- old-style static pyclutter bindings

The code you posted in your previous mails already uses introspection,
so there is no need to install the static bindings. It's also not
possible to mix the static and introspected bindings.

However, the pyclutter package contains an PyGObject override file in the
wip/introspection branch [0] to provide a more "pythonic" API. You just
have to place the file in the gi._overridesdir.
Suggestions and patches are welcome :)


so long

:wq buz

[0] 
http://git.gnome.org/browse/pyclutter/tree/introspection/Clutter.py?h=wip/introspection
-- 
GnuPG Fingerprint: 2FFF FC48 C7DF 1EA0 00A0  FD53 8C35 FD2E 6908 7B82

Attachment: signature.asc
Description: Digital signature

_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to