parameters: (*args, **kwargs)
return_statement: return not _shell.spawn(*argv)
docstring: Run setup
docstring_summary: Run setup
docstring_tokens: Run setup
function: def run_setup(*args, **kwargs):
      """ Run setup """
      if 'setup' in kwargs:
          script = kwargs.get('setup') or 'setup.py'
          del kwargs['setup']
      else:
          script = 'setup.py'
      if 'fakeroot' in kwargs:
          fakeroot = kwargs['fakeroot']
          del kwargs['fakeroot']
      else:
          fakeroot = None
      if kwargs:
          raise TypeError("Unrecognized keyword parameters")
  
      script = _shell.native(script)
      argv = [_sys.executable, script] + list(args)
      if fakeroot:
          argv.insert(0, fakeroot)
      return not _shell.spawn(*argv)
function_tokens: def run_setup ( * args , * * kwargs ) : if 'setup' in kwargs : script = kwargs . get ( 'setup' ) or 'setup.py' del kwargs [ 'setup' ] else : script = 'setup.py' if 'fakeroot' in kwargs : fakeroot = kwargs [ 'fakeroot' ] del kwargs [ 'fakeroot' ] else : fakeroot = None if kwargs : raise TypeError ( "Unrecognized keyword parameters" ) script = _shell . native ( script ) argv = [ _sys . executable , script ] + list ( args ) if fakeroot : argv . insert ( 0 , fakeroot ) return not _shell . spawn ( * argv )