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

@@ -24,7 +24,6 @@ import os
import glob
import sys
import logging
import gobject
from whipper.command.basecommand import BaseCommand
from whipper.common import (
accurip, config, drive, program, task
@@ -32,8 +31,6 @@ from whipper.common import (
from whipper.program import cdrdao, cdparanoia, utils
from whipper.result import result
gobject.threads_init()
logger = logging.getLogger(__name__)

View File

@@ -23,15 +23,12 @@ import os
import sys
import tempfile
import logging
import gobject
from whipper.command.basecommand import BaseCommand
from whipper.common import accurip, common, config, drive
from whipper.common import task as ctask
from whipper.program import arc, cdrdao, cdparanoia, utils
from whipper.extern.task import task
gobject.threads_init()
logger = logging.getLogger(__name__)
# see http://www.accuraterip.com/driveoffsets.htm