diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 3a8f8305b..a3598f99b 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -93,6 +93,13 @@ def build_osx(): """Build OS X .dmg/.app.""" utils.print_title("Building .app via pyinstaller") call_tox('pyinstaller') + utils.print_title("Building .dmg") + subprocess.check_call(['make', '-f', 'scripts/dev/Makefile-dmg']) + utils.print_title("Cleaning up...") + for f in ['wc.dmg', 'template.dmg']: + os.remove(f) + for d in ['dist', 'build']: + shutil.rmtree(d) def build_windows():