From ea32af04fb96fa8e9efa905a1dd389f51a263beb Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 18 Jan 2012 12:33:54 -0500 Subject: [PATCH] Fixed cocoa dev build. --- build.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build.py b/build.py index 83ff3330..4f167bbe 100644 --- a/build.py +++ b/build.py @@ -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')