[libchamplain/libchamplain-0-12] Add description how to run the python demo
- From: JiÅÃ Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain/libchamplain-0-12] Add description how to run the python demo
- Date: Tue, 20 Dec 2011 01:14:53 +0000 (UTC)
commit 21f2a2a053c5d5cc24651a8aefd8c24357a85223
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]