From 8ac035c8a9f8d90ec26aee57456eadd745054224 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 15 Aug 2012 07:33:01 -0700 Subject: [PATCH] Moved run templates from root folder to cocoa/qt subfolders. --HG-- rename : run_template_cocoa.py => cocoa/run_template.py rename : run_template_qt.py => qt/run_template.py --- build.py | 4 ++-- run_template_cocoa.py => cocoa/run_template.py | 0 run_template_qt.py => qt/run_template.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename run_template_cocoa.py => cocoa/run_template.py (100%) rename run_template_qt.py => qt/run_template.py (100%) diff --git a/build.py b/build.py index 571b7ace..02c25729 100644 --- a/build.py +++ b/build.py @@ -127,7 +127,7 @@ def build_cocoa(edition, dev): app.copy_resources(*resources, use_symlinks=dev) app.copy_frameworks('build/Python', 'cocoalib/Sparkle.framework') print("Creating the run.py file") - tmpl = open('run_template_cocoa.py', 'rt').read() + tmpl = open('cocoa/run_template.py', 'rt').read() run_contents = tmpl.replace('{{app_path}}', app.dest) open('run.py', 'wt').write(run_contents) @@ -138,7 +138,7 @@ def build_qt(edition, dev): print_and_do("pyrcc4 -py3 {0} > {1}".format(op.join('qt', 'base', 'dg.qrc'), op.join('qt', 'base', 'dg_rc.py'))) fix_qt_resource_file(op.join('qt', 'base', 'dg_rc.py')) print("Creating the run.py file") - tmpl = open('run_template_qt.py', 'rt').read() + tmpl = open(op.join('qt', 'run_template.py'), 'rt').read() run_contents = tmpl.replace('{{edition}}', edition) open('run.py', 'wt').write(run_contents) diff --git a/run_template_cocoa.py b/cocoa/run_template.py similarity index 100% rename from run_template_cocoa.py rename to cocoa/run_template.py diff --git a/run_template_qt.py b/qt/run_template.py similarity index 100% rename from run_template_qt.py rename to qt/run_template.py