1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-10 17:59:02 +00:00

Fixed cocoa dev build.

This commit is contained in:
Virgil Dupras 2012-01-18 12:33:54 -05:00
parent e519e41e42
commit ea32af04fb

View File

@ -58,15 +58,12 @@ def build_cocoa(edition, dev):
'pe': ['core_pe'],
}[edition]
tocopy = ['core', 'hscommon', 'cocoa/inter', 'cocoalib/cocoa'] + specific_packages
copy_packages(tocopy, 'build')
sys.path.insert(0, 'build')
collect_dependencies('build/dg_cocoa.py', 'build/py', excludes=['PyQt4'])
del sys.path[0]
if dev:
# collect dependencies, then override our own pckages with symlinks
collect_dependencies('build/dg_cocoa.py', 'build/py', excludes=['PyQt4'])
copy_packages(tocopy, 'build/py', create_links=True)
else:
copy_packages(tocopy, 'build')
sys.path.insert(0, 'build')
collect_dependencies('build/dg_cocoa.py', 'build/py', excludes=['PyQt4'])
del sys.path[0]
# Views are not referenced by python code, so they're not found by the collector.
copy_all('build/inter/*.so', 'build/py/inter')
copy_sysconfig_files_for_embed('build/py')