From 7594cccf8cc259128ed381ec250d60b87490a548 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sun, 10 Nov 2013 12:39:02 -0500 Subject: [PATCH] Fixed build on OS X which was broken --- build.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 9da002c8..8ca45b1a 100644 --- a/build.py +++ b/build.py @@ -135,6 +135,7 @@ def build_cocoa(edition, dev): print_and_do(cocoa_compile_command(edition)) os.chdir('..') app.copy_executable('cocoa/build/dupeGuru') + build_help(edition) print("Copying resources and frameworks") image_path = ed('cocoa/{}/dupeguru.icns') resources = [image_path, 'cocoa/base/dsa_pub.pem', 'build/dg_cocoa.py', 'build/help'] @@ -151,6 +152,7 @@ def build_qt(edition, dev, conf): print("Building Qt stuff") 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')) + build_help(edition) print("Creating the run.py file") filereplace(op.join('qt', 'run_template.py'), 'run.py', edition=edition) @@ -324,9 +326,6 @@ def build_normal(edition, ui, dev, conf): build_cocoa(edition, dev) elif ui == 'qt': build_qt(edition, dev, conf) - # We used to build the help first, but autodoc building messes up with pythonpaths and makes our - # whole build process buggy. We do it last. - build_help(edition) def main(): options = parse_args()