ignore a crypto module from demandimport to make it work under windows

This commit is contained in:
Yann Leboulanger 2011-12-17 21:17:32 +01:00
parent 25be68953d
commit d23d4082a7
1 changed files with 3 additions and 2 deletions

View File

@ -63,12 +63,13 @@ if os.name == 'nt':
os.environ['PATH'] = ';'.join(new_list)
from common import demandimport
demandimport.enable()
#demandimport.enable()
demandimport.ignore += ['gobject._gobject', 'libasyncns', 'i18n',
'logging.NullHandler', 'dbus.glib', 'dbus.service',
'command_system.implementation.standard',
'command_system.implementation.execute', 'OpenSSL.SSL', 'OpenSSL.crypto',
'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic']
'common.sleepy', 'DLFCN', 'dl', 'xml.sax', 'xml.sax.handler', 'ic',
'Crypto.PublicKey']
if os.name == 'nt':
import locale