diff options
author | ng0 <ng0@n0.is> | 2017-12-03 12:21:41 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2017-12-03 12:21:41 +0000 |
commit | bda184f81ea7865067b4bcd73cef42251bff0217 (patch) | |
tree | 89b64b80f4a8f138ed188336ebd2cc096acdd1bf | |
parent | 6abecebb648d098343d0305103bfc5f50237c5c9 (diff) | |
download | gnunet-python-bda184f81ea7865067b4bcd73cef42251bff0217.tar.gz gnunet-python-bda184f81ea7865067b4bcd73cef42251bff0217.zip |
fixes
-rwxr-xr-x | examples/dht.py | 2 | ||||
-rwxr-xr-x | examples/gns.py | 2 | ||||
-rw-r--r-- | gnunet/_dbus_utils.py | 2 | ||||
-rw-r--r-- | 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 @@ | |||
1 | #!/usr/bin/python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | import gnunet.dht | 3 | import gnunet.dht |
4 | import time | 4 | 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 @@ | |||
1 | #!/usr/bin/python3 | 1 | #!/usr/bin/env python3 |
2 | 2 | ||
3 | import gnunet.gns | 3 | import gnunet.gns |
4 | 4 | ||
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 | |||
3 | import dbus | 3 | import dbus |
4 | import threading | 4 | import threading |
5 | import datetime | 5 | import datetime |
6 | import gi | ||
7 | gi.require_version('Gtk', '3.0') | ||
6 | from gi.repository import Gtk | 8 | from gi.repository import Gtk |
7 | 9 | ||
8 | from dbus.mainloop.glib import DBusGMainLoop, threads_init | 10 | from dbus.mainloop.glib import DBusGMainLoop, threads_init |
@@ -9,7 +9,7 @@ setup( | |||
9 | version="0.0", | 9 | version="0.0", |
10 | 10 | ||
11 | packages=['gnunet'], | 11 | packages=['gnunet'], |
12 | install_requires=['dbus-python'], | 12 | # install_requires=['dbus-python'], |
13 | # We require PyGObject (pygobject) but would have to | 13 | # We require PyGObject (pygobject) but would have to |
14 | # pass a URL to pip3 for that, as it is not on pypi. | 14 | # pass a URL to pip3 for that, as it is not on pypi. |
15 | 15 | ||