improve demandimport usage
This commit is contained in:
parent
53a452fc1c
commit
721defabc3
|
@ -166,7 +166,7 @@ HAVE_LATEX = False
|
||||||
|
|
||||||
HAVE_FARSIGHT = True
|
HAVE_FARSIGHT = True
|
||||||
try:
|
try:
|
||||||
import farsight
|
farsight = __import__('farsight')
|
||||||
import gst
|
import gst
|
||||||
import glib
|
import glib
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -40,8 +40,7 @@ demandimport.enable()
|
||||||
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
|
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
|
||||||
'logging.NullHandler', 'dbus.glib', 'dbus.service',
|
'logging.NullHandler', 'dbus.glib', 'dbus.service',
|
||||||
'command_system.implementation.standard', 'OpenSSL.SSL', 'OpenSSL.crypto',
|
'command_system.implementation.standard', 'OpenSSL.SSL', 'OpenSSL.crypto',
|
||||||
'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic',
|
'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic']
|
||||||
'farsight']
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
Loading…
Reference in New Issue