ignore a crypto module from demandimport to make it work under windows
This commit is contained in:
		
							parent
							
								
									25be68953d
								
							
						
					
					
						commit
						d23d4082a7
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue