Switch to PyGObject by default (#271)

* cd/offset: remove unused call to gobject.thread_init()

There are no threads involved.

* task: switch to PyGObject

Python-gobject-2 is deprecated.

* travis: update dependencies for PyGObject and GLib-2.0

* README: Add GObject Introspection
This commit is contained in:
Andreas Oberritter
2018-05-24 17:11:37 +02:00
committed by Joe
parent 8fe47ede2b
commit 145403705d
5 changed files with 7 additions and 9 deletions

View File

@@ -21,7 +21,10 @@
import logging
import sys
import gobject
try:
from gi.repository import GLib as gobject
except ImportError:
import gobject
logger = logging.getLogger(__name__)