J!UWR ddlZddlmZddlTddlmZdZGddeZdS)N)Command)*) get_platformc ddlm}g}tjD]3}|d|zdtj|df4||}|ddS)Nr) FancyGetoptformats=z'List of available distribution formats:)distutils.fancy_getoptrbdistformat_commandsappendformat_command print_help)rformatsformatpretty_printers ! O!-!%!;!;G!D!D!N ? "33G<<GJ gll:+3dn+DFFDO  *** <  2 $ 3BG <=  2 2 2,')+1222 2 = "DMMM ! s -C 'C2cg}|jD]I} ||j|d*#t$rt d|zwxYwt t |jD]}||}||}||jvr|j||_ |dkr|j |_ |j |_ |||dzdvrd|_ | |dS)Nrzinvalid format '%s'r'r )rr rr<DistutilsOptionErrorrangelenreinitialize_commandno_format_optionrr.r- keep_temp run_command)r/commandsricmd_namesub_cmds rrunz bdist.runqs0l K KF K 3F ;A >???? K K K*+@6+IJJJ Ks4<(()) ' 'A{H//99Gt444!%a<'' $  $  8AaCDD>))$%!   X & & & & ' 's &4A)__name__ __module__ __qualname__ descriptionr user_optionsboolean_optionsr help_optionsrDr:r rr0r>rKrrr r s8KM!3%'3|~~67H(K12L($nO  / ? L & '!##NONNO BAB?D99 N###8'''''rr )r6distutils.corerdistutils.errorsdistutils.utilrrr rSrrrWs  """"""'''''' I I Ir'r'r'r'r'Gr'r'r'r'r'r