mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
pe cocoa: Adjusted to recent dupeguru_pe move.
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4081
This commit is contained in:
parent
72bdb4258a
commit
1706675ae4
@ -2,11 +2,11 @@
|
|||||||
import objc
|
import objc
|
||||||
from AppKit import *
|
from AppKit import *
|
||||||
|
|
||||||
from dupeguru import app_pe_cocoa, scanner
|
from dupeguru_pe import app_cocoa as app_pe_cocoa
|
||||||
|
|
||||||
# Fix py2app imports which chokes on relative imports
|
# Fix py2app imports which chokes on relative imports
|
||||||
from dupeguru import app, app_cocoa, data, directories, engine, export, ignore, results, scanner
|
from dupeguru import app, app_cocoa, data, directories, engine, export, ignore, results, scanner
|
||||||
from dupeguru.picture import block, cache, matchbase
|
from dupeguru_pe import block, cache, matchbase
|
||||||
from hsfs import auto, manual, stats, tree, utils
|
from hsfs import auto, manual, stats, tree, utils
|
||||||
|
|
||||||
class PyApp(NSObject):
|
class PyApp(NSObject):
|
||||||
|
@ -6,7 +6,7 @@ import shutil
|
|||||||
|
|
||||||
from hsutil.build import print_and_do
|
from hsutil.build import print_and_do
|
||||||
|
|
||||||
os.chdir('dupeguru')
|
os.chdir('dupeguru_pe')
|
||||||
print_and_do('python gen.py')
|
print_and_do('python gen.py')
|
||||||
os.chdir('..')
|
os.chdir('..')
|
||||||
|
|
||||||
@ -15,4 +15,4 @@ if op.exists('build'):
|
|||||||
if op.exists('dist'):
|
if op.exists('dist'):
|
||||||
shutil.rmtree('dist')
|
shutil.rmtree('dist')
|
||||||
|
|
||||||
print_and_do('python -u setup.py py2app')
|
print_and_do('python -u setup.py py2app -A')
|
Loading…
x
Reference in New Issue
Block a user