From b5a219cc003a2262f12205a5c5d341de7ae3c6d2 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Thu, 2 Aug 2012 11:27:19 -0400 Subject: [PATCH] Pushed build_cocoalib_xibless() to hscommon.build --- build.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/build.py b/build.py index 7269b463..ca92a5a5 100644 --- a/build.py +++ b/build.py @@ -20,7 +20,7 @@ from setuptools import setup, Extension from hscommon import sphinxgen from hscommon.build import (add_to_pythonpath, print_and_do, copy_packages, filereplace, get_module_version, move_all, copy_sysconfig_files_for_embed, copy_all, move, copy, - create_osx_app_structure) + create_osx_app_structure, build_cocoalib_xibless) from hscommon import loc from hscommon.plat import ISOSX from hscommon.util import ensure_folder @@ -57,20 +57,6 @@ def cocoa_app_path(edition): 'pe': 'build/dupeGuru PE.app', }[edition] -def build_cocoalib_xibless(dest='cocoa/autogen'): - import xibless - ensure_folder(dest) - FNPAIRS = [ - ('progress.py', 'ProgressController_UI'), - ('about.py', 'HSAboutBox_UI'), - ('fairware_reminder.py', 'HSFairwareReminder_UI'), - ('demo_reminder.py', 'HSDemoReminder_UI'), - ('enter_code.py', 'HSEnterCode_UI'), - ('error_report.py', 'HSErrorReportWindow_UI'), - ] - for srcname, dstname in FNPAIRS: - xibless.generate(op.join('cocoalib', 'ui', srcname), op.join(dest, dstname), localizationTable='cocoalib') - def build_xibless(edition, dest='cocoa/autogen'): import xibless ensure_folder(dest)