Updated py2app workaround in dg_cocoa for lxml.

This commit is contained in:
Virgil Dupras 2010-03-01 04:15:27 -08:00
parent 69b15d58a2
commit 26dd2d0e8e
3 changed files with 9 additions and 3 deletions

View File

@ -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):

View File

@ -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):

View File

@ -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):