1
0
mirror of https://github.com/arsenetar/dupeguru-cocoa.git synced 2026-03-15 03:51:38 +00:00

Add package.py

with other minor fixes
This commit is contained in:
Virgil Dupras
2017-03-11 20:44:18 -05:00
parent 08eac3844e
commit cdb14d7e5f
6 changed files with 32 additions and 8 deletions

26
package.py Normal file
View File

@@ -0,0 +1,26 @@
# Copyright 2017 Virgil Dupras
#
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
# which should be included with this package. The terms are also available at
# http://www.gnu.org/licenses/gpl-3.0.html
from argparse import ArgumentParser
from hscommon.build import setup_package_argparser, package_cocoa_app_in_dmg
def parse_args():
parser = ArgumentParser()
setup_package_argparser(parser)
return parser.parse_args()
def package_cocoa(args):
app_path = 'build/dupeGuru.app'
package_cocoa_app_in_dmg(app_path, '.', args)
def main():
args = parse_args()
print("Packaging dupeGuru with UI cocoa")
package_cocoa(args)
if __name__ == '__main__':
main()