U e5d¬"ã@s†ddlZddlZddlmZddlTddlmZddlmZddl m Z ddl m Z dZ d d „Zdadad Zd Zd d„Zddd„ZdS)éN)ÚDEBUG)Ú*)Ú Distribution)ÚCommand)Ú PyPIRCCommand)Ú Extensionz°usage: %(script)s [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: %(script)s --help [cmd1 cmd2 ...] or: %(script)s --help-commands or: %(script)s cmd --help cCstj |¡}ttƒS)N)ÚosÚpathÚbasenameÚUSAGEÚvars)Ú script_nameZscript©rú&/usr/lib64/python3.8/distutils/core.pyÚ gen_usage s r)Ú distclassr Ú script_argsZoptionsÚnameÚversionZauthorZ author_emailZ maintainerZmaintainer_emailZurlÚlicenseZ descriptionZlong_descriptionÚkeywordsZ platformsZ classifiersZ download_urlZrequiresZprovidesZ obsoletes)rZsourcesZ include_dirsZ define_macrosZ undef_macrosZ library_dirsZ librariesZruntime_library_dirsZ extra_objectsZextra_compile_argsZextra_link_argsZ swig_optsZexport_symbolsZdependsZlanguagec Ks| d¡}|r|d=nt}d|kr8tj tjd¡|d<d|krRtjdd…|d<z||ƒa}WnLtk r®}z.d|krŠt d|ƒ‚nt d|d|fƒ‚W5d}~XYnXt d kr¼|S|  ¡t rØt d ƒ| ¡t d krä|Sz | ¡}Wn:tk �r*}zt t|jƒd |ƒ‚W5d}~XYnXt �rBt d ƒ| ¡t dk�rP|S|�rz | ¡Wnªtk �r€t dƒ‚YnŽtk �rÌ}z.t �r®tj d|f¡‚nt d|fƒ‚W5d}~XYnBttfk �r }zt �rì‚nt dt|ƒƒ‚W5d}~XYnX|S)Nrr rrérzerror in setup command: %szerror in %s setup command: %sÚinitz%options (after parsing config files):Úconfigz error: %sz%options (after parsing command line):Ú commandlineZ interruptedz error: %s z error: %szerror: )Úgetrrr r ÚsysÚargvÚ_setup_distributionZDistutilsSetupErrorÚ SystemExitÚ_setup_stop_afterZparse_config_filesrÚprintZdump_option_dictsZparse_command_lineZDistutilsArgErrorrr Z run_commandsÚKeyboardInterruptÚOSErrorÚstderrÚwriteZDistutilsErrorZCCompilerErrorÚstr)ÚattrsÚklassZdistÚmsgÚokÚexcrrrÚsetup9sd%  ÿ (   ÿ"r,Úrunc Cs´|dkrtd|fƒ‚|atj ¡}d|i}zZzH|tjd<|dk rP|tjdd…<t|dƒ�}t| ¡|ƒW5QRXW5|t_daXWntk ršYnXt dkr°t d|ƒ‚t S)N)rrrr-z"invalid value for 'stop_after': %rÚ__file__rrÚrbzZ'distutils.core.setup()' was never called -- perhaps '%s' is not a Distutils setup script?) Ú ValueErrorr rrÚcopyÚopenÚexecÚreadrrÚ RuntimeError)r rZ stop_afterZ save_argvÚgÚfrrrÚ run_setupªs*    þr8)Nr-)rrZdistutils.debugrZdistutils.errorsZdistutils.distrZ distutils.cmdrZdistutils.configrZdistutils.extensionrr rr rZsetup_keywordsZextension_keywordsr,r8rrrrÚ s      q