gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-python] branch master updated (3485bca -> bda184f)


From: gnunet
Subject: [GNUnet-SVN] [gnunet-python] branch master updated (3485bca -> bda184f)
Date: Sun, 03 Dec 2017 13:21:56 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a change to branch master
in repository gnunet-python.

    from 3485bca  +
     new 6abeceb  rename examples.
     new bda184f  fixes

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 examples/{example-dht.py => dht.py} | 2 +-
 examples/{example-gns.py => gns.py} | 2 +-
 gnunet/_dbus_utils.py               | 2 ++
 setup.py                            | 2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)
 rename examples/{example-dht.py => dht.py} (96%)
 rename examples/{example-gns.py => gns.py} (95%)

diff --git a/examples/example-dht.py b/examples/dht.py
similarity index 96%
rename from examples/example-dht.py
rename to examples/dht.py
index 76f345b..308b715 100755
--- a/examples/example-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/example-gns.py b/examples/gns.py
similarity index 95%
rename from examples/example-gns.py
rename to examples/gns.py
index efbea27..962b23b 100755
--- a/examples/example-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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]