[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-python] 02/02: fixes
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-python] 02/02: fixes |
Date: |
Sun, 03 Dec 2017 13:21:58 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet-python.
commit bda184f81ea7865067b4bcd73cef42251bff0217
Author: ng0 <address@hidden>
AuthorDate: Sun Dec 3 12:21:41 2017 +0000
fixes
---
examples/dht.py | 2 +-
examples/gns.py | 2 +-
gnunet/_dbus_utils.py | 2 ++
setup.py | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/examples/dht.py b/examples/dht.py
index 76f345b..308b715 100755
--- a/examples/dht.py
+++ b/examples/dht.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import gnunet.dht
import time
diff --git a/examples/gns.py b/examples/gns.py
index efbea27..962b23b 100755
--- a/examples/gns.py
+++ b/examples/gns.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import gnunet.gns
diff --git a/gnunet/_dbus_utils.py b/gnunet/_dbus_utils.py
index bd9aa2a..803f8bb 100644
--- a/gnunet/_dbus_utils.py
+++ b/gnunet/_dbus_utils.py
@@ -3,6 +3,8 @@ import gnunet.strings as strings
import dbus
import threading
import datetime
+import gi
+gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from dbus.mainloop.glib import DBusGMainLoop, threads_init
diff --git a/setup.py b/setup.py
index fbcc57b..2d7b91e 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(
version="0.0",
packages=['gnunet'],
- install_requires=['dbus-python'],
+ # install_requires=['dbus-python'],
# We require PyGObject (pygobject) but would have to
# pass a URL to pip3 for that, as it is not on pypi.
--
To stop receiving notification emails like this one, please contact
address@hidden