[conduit/udev: 1/2] import gudev
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [conduit/udev: 1/2] import gudev
- Date: Mon, 29 Mar 2010 06:35:03 +0000 (UTC)
commit 70910e0fc6d6dbdbb20964a45825a9d1dbe0157e
Author: John Stowers <john stowers gmail com>
Date: Tue Feb 9 00:49:21 2010 +0100
import gudev
conduit/dataproviders/HalFactory.py | 6 ++++++
setup-env.sh | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/conduit/dataproviders/HalFactory.py b/conduit/dataproviders/HalFactory.py
index fa5c0e8..fb339cd 100644
--- a/conduit/dataproviders/HalFactory.py
+++ b/conduit/dataproviders/HalFactory.py
@@ -1,9 +1,15 @@
import gobject
import dbus
+import gudev
+
+import logging
+log = logging.getLogger("dataproviders.HalFactory")
import conduit.utils as Utils
import conduit.dataproviders.SimpleFactory as SimpleFactory
+log.info("Module Information: %s" % Utils.get_module_information(gudev, "__version__"))
+
class HalFactory(SimpleFactory.SimpleFactory):
def __init__(self, **kwargs):
diff --git a/setup-env.sh b/setup-env.sh
new file mode 100644
index 0000000..82d1191
--- /dev/null
+++ b/setup-env.sh
@@ -0,0 +1 @@
+export PYTHONPATH=/opt/gudev/lib/python2.6/site-packages/gtk-2.0/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]