Clean the CLI, applications workflow & README

This commit is contained in:
Valentin Niess
2020-04-03 23:54:57 +02:00
parent 2c813fed06
commit 999fcf8083
4 changed files with 47 additions and 6 deletions

View File

@@ -62,6 +62,12 @@ def main():
help='path to the application metadata')
build_app_parser.add_argument('-n', '--name',
help='application name')
build_app_parser.add_argument('-l', '--linux-tag',
help='linux compatibility tag (e.g. manylinux1_x86_64)')
build_app_parser.add_argument('--python-tag',
help='python compatibility tag (e.g. cp37-cp37m)')
build_app_parser.add_argument('-p', '--python-version',
help='python version (e.g. 3.8)')
which_parser = subparsers.add_parser('which',
description='Locate a binary dependency')

View File

@@ -24,7 +24,8 @@ __all__ = ['execute']
def _unpack_args(args):
'''Unpack command line arguments
'''
return args.appdir, args.name
return args.appdir, args.name, args.python_version, args.linux_tag, \
args.python_tag
_tag_pattern = re.compile('python([^-]+)[-]([^.]+)[.]AppImage')