Your IP : 13.59.42.207


Current Path : /lib64/python3.6/distutils/__pycache__/
Upload File :
Current File : //lib64/python3.6/distutils/__pycache__/core.cpython-36.opt-2.pyc

3


 \�"�@s�ddlZddlZddlmZddlTddlmZddlmZddl	m
Z
ddlmZdZ
d	d
�Zdadad3Zd4Zd.d/�Zd5d1d2�ZdS)6�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
cCstjj|�}tt�S)N)�os�path�basename�USAGE�vars)�script_nameZscript�r�&/usr/lib64/python3.6/distutils/core.py�	gen_usage sr�	distclassr
�script_args�options�name�version�author�author_email�
maintainer�maintainer_email�url�license�description�long_description�keywords�	platforms�classifiers�download_url�requires�provides�	obsoletes�sources�include_dirs�
define_macros�undef_macros�library_dirs�	libraries�runtime_library_dirs�
extra_objects�extra_compile_args�extra_link_args�	swig_opts�export_symbols�depends�languagec,Ks|jd�}|r|d=nt}d|kr8tjjtjd�|d<d|krRtjdd�|d<y||�a}WnLtk
r�}z0d|kr�t	d|��nt	d|d|f��WYdd}~XnXt
d	kr�|S|j�tr�t
d
�|j�t
dkr�|Sy|j�}Wn:tk
�r*}zt	t|j�d|��WYdd}~XnXt�rBt
d
�|j�t
dk�rP|S|�ry|j�Wn�tk
�r�t	d��Yn�tk
�r�}z0t�r�tjjd|f��nt	d|f��WYdd}~XnBttfk
�r}z t�r�nt	dt|���WYdd}~XnX|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):�commandlineZinterruptedz
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)Zattrs�klassZdist�msg�ok�excrrr�setup9s`%
"(
"rG�runcCs�|dkrtd|f��|atjj�}d|i}yZzH|tjd<|dk	rP|tjdd�<t|d	��}t|j�|�WdQRXWd|t_daXWntk
r�YnXt	dkr�t
d
|��t	S)Nr4r5r6rHz"invalid value for 'stop_after': %r�__file__rr3�rbzZ'distutils.core.setup()' was never called -- perhaps '%s' is not a Distutils setup script?)r4r5r6rH)�
ValueErrorr<r8r9�copy�open�exec�readr;r:�RuntimeError)r
rZ
stop_afterZ	save_argv�g�frrr�	run_setup�s(


rS)rr
rrrrrrrrrrrrrrr r!r"r#r$)rr%r&r'r(r)r*r+r,r-r.r/r0r1r2)NrH)rr8Zdistutils.debugrZdistutils.errorsZdistutils.distrZ
distutils.cmdrZdistutils.configrZdistutils.extensionrrrr<r:Zsetup_keywordsZextension_keywordsrGrSrrrr�<module>	s0q