mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 04:10:15 +01:00
Relocate patchelf & appimagetool
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user