[libchamplain] Add description how to run the python demo
- From: JiÅÃ Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Add description how to run the python demo
- Date: Mon, 21 Nov 2011 12:17:59 +0000 (UTC)
commit 88dc672b8797834b03d67b962dda2de2d40ad4f1
Author: JiÅÃ Techet <techet gmail com>
Date: Mon Nov 21 13:16:29 2011 +0100
Add description how to run the python demo
demos/minimal.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/demos/minimal.py b/demos/minimal.py
index 9c7fef4..6be224e 100755
--- a/demos/minimal.py
+++ b/demos/minimal.py
@@ -1,5 +1,10 @@
#!/usr/bin/env python
+# To run this example, you need to set the GI_TYPELIB_PATH environment
+# variable to point to the gir directory:
+#
+# export GI_TYPELIB_PATH=$GI_TYPELIB_PATH:/usr/local/lib/girepository-1.0/
+
from gi.repository import GtkClutter
GtkClutter.init([])
from gi.repository import GObject, Gtk, GtkChamplain
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]