mirror of
				https://github.com/arsenetar/dupeguru.git
				synced 2025-09-11 17:58:17 +00:00 
			
		
		
		
	Updated py2app workaround in dg_cocoa for lxml.
This commit is contained in:
		
							parent
							
								
									69b15d58a2
								
							
						
					
					
						commit
						26dd2d0e8e
					
				| @ -11,9 +11,11 @@ from core_me.app_cocoa import DupeGuruME | ||||
| from core.scanner import (SCAN_TYPE_FILENAME, SCAN_TYPE_FIELDS, SCAN_TYPE_FIELDS_NO_ORDER, | ||||
|     SCAN_TYPE_TAG, SCAN_TYPE_CONTENT, SCAN_TYPE_CONTENT_AUDIO) | ||||
| 
 | ||||
| # Fix py2app imports which chokes on relative imports | ||||
| # Fix py2app imports which chokes on relative imports and other stuff | ||||
| from core_me import app_cocoa, data, fs, scanner | ||||
| from hsmedia import aiff, flac, genres, id3v1, id3v2, mp4, mpeg, ogg, wma | ||||
| from lxml import etree, _elementpath | ||||
| import gzip | ||||
| 
 | ||||
| class PyDupeGuru(PyDupeGuruBase): | ||||
|     def init(self): | ||||
|  | ||||
| @ -7,8 +7,10 @@ | ||||
| from core.app_cocoa_inter import PyDupeGuruBase, PyDetailsPanel | ||||
| from core_pe import app_cocoa as app_pe_cocoa | ||||
| 
 | ||||
| # Fix py2app imports which chokes on relative imports | ||||
| # Fix py2app imports which chokes on relative imports and other stuff | ||||
| from core_pe import block, cache, matchbase, data, _block_osx | ||||
| from lxml import etree, _elementpath | ||||
| import gzip | ||||
| 
 | ||||
| class PyDupeGuru(PyDupeGuruBase): | ||||
|     def init(self): | ||||
|  | ||||
| @ -10,8 +10,10 @@ from core import scanner | ||||
| from core.app_cocoa_inter import PyDupeGuruBase, PyDetailsPanel | ||||
| from core_se.app_cocoa import DupeGuru | ||||
| 
 | ||||
| # Fix py2app imports with chokes on relative imports | ||||
| # Fix py2app imports with chokes on relative imports and other stuff | ||||
| from core_se import fs, data | ||||
| from lxml import etree, _elementpath | ||||
| import gzip | ||||
| 
 | ||||
| class PyDupeGuru(PyDupeGuruBase): | ||||
|     def init(self): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user