From 75bc864e1c8af0cb8328740e77956cf70af0dd6f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 30 Apr 2012 05:35:58 +0000 Subject: [PATCH] Run _core first git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index e2eec27a..76f215c0 100755 --- a/build.py +++ b/build.py @@ -687,7 +687,12 @@ def docs_bdist(options, args): def sip(options, args): cmdTimer = CommandTimer('sip') cfg = Config() - for src_name in glob.glob(opj(cfg.SIPGEN, '_*.sip')): + modules = glob.glob(opj(cfg.SIPGEN, '_*.sip')) + # move _core the to the front of the list + modules.remove(opj(cfg.SIPGEN, '_core.sip')) + modules.insert(0, opj(cfg.SIPGEN, '_core.sip')) + + for src_name in modules: # TODO: Add some dependency checking here. If none of the included # files has been updated then running sip can probably be avoided. # OTOH, it's fast enough that it probably doesn't matter.