Relocate patchelf & appimagetool

This commit is contained in:
Valentin Niess
2020-03-29 23:36:12 +02:00
parent 0e2f47f0a9
commit ca80dd8452
2 changed files with 5 additions and 24 deletions

View File

@@ -4,8 +4,6 @@ import logging
import os
import sys
from .utils.deps import fetch_all
__all__ = ['main']
@@ -23,9 +21,6 @@ def main():
parser.add_argument('-v', '--verbose', help='print extra information',
dest='verbosity', action='store_const', const=logging.DEBUG)
parser.add_argument('--deploy', help=argparse.SUPPRESS,
action='store_true', default=False)
local_parser = subparsers.add_parser('local')
local_parser.add_argument('-d', '--destination',
help='AppImage destination')
@@ -44,11 +39,6 @@ def main():
if args.verbosity:
logging.getLogger().setLevel(args.verbosity)
if args.deploy:
# Fetch dependencies and exit
fetch_all()
sys.exit(0)
# Call the AppImage builder
builder = import_module('.builders.' + args.builder, package=__package__)
builder.build(*builder._unpack_args(args))