@@ -309,10 +309,6 @@ def __init__(self):
309309 parser_create = subparsers .add_parser (
310310 'create' , help = 'Compile a set of requirements into a dist' ,
311311 parents = [generic_parser ])
312- parser_context_info = subparsers .add_parser (
313- 'context_info' , aliases = ['context-info' ],
314- help = 'Print some debug information about the build context' ,
315- parents = [generic_parser ])
316312 parser_archs = subparsers .add_parser (
317313 'archs' , help = 'List the available target architectures' ,
318314 parents = [generic_parser ])
@@ -595,31 +591,7 @@ def create(self, args):
595591 '''Create a distribution directory if it doesn't already exist, run
596592 any recipes if necessary, and build the apk.
597593 '''
598- pass # The decorator does this for us
599- # ctx = self.ctx
600-
601- # dist = dist_from_args(ctx, self.args)
602- # if not dist.needs_build:
603- # info('You asked to create a distribution, but a dist with '
604- # 'this name already exists. If you don\'t want to use '
605- # 'it, you must delete it and rebuild, or create your '
606- # 'new dist with a different name.')
607- # exit(1)
608- # info('Ready to create dist {}, contains recipes {}'.format(
609- # dist.name, ', '.join(dist.recipes)))
610-
611- # build_dist_from_args(ctx, dist, args)
612-
613- def context_info (self , args ):
614- '''Prints some debug information about which system paths
615- python-for-android will internally use for package building, along
616- with information about where the Android SDK and NDK will be called
617- from.'''
618- ctx = self .ctx
619- for attribute in ('root_dir' , 'build_dir' , 'dist_dir' , 'libs_dir' ,
620- 'ccache' , 'cython' , 'sdk_dir' , 'ndk_dir' ,
621- 'ndk_platform' , 'ndk_ver' , 'android_api' ):
622- print ('{} is {}' .format (attribute , getattr (ctx , attribute )))
594+ pass # The decorator does everything
623595
624596 def archs (self , args ):
625597 '''List the target architectures available to be built for.'''
0 commit comments