Your IP : 3.135.247.237


Current Path : /opt/alt/python35/lib64/python3.5/distutils/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/__pycache__/core.cpython-35.opt-2.pyc



���]�"�@s�ddlZddlZddlmZddlTddlmZddlmZddl	m
Z
ddlmZdZ
d	d
�Zdadad3Zd4Zd.d/�Zdd0d1d2�ZdS)5�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�)/opt/alt/python35/lib64/python3.5/core.py�	gen_usage sr�	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|krNtjjtjd�|d<d|krqtjdd�|d<y||�a}Wn^tk
r�}z>d|kr�t	d|��nt	d|d|f��WYdd}~XnXt
d	kr�|S|j�trt
d
�|j�t
dkr*|Sy|j�}WnBtk
r~}z"t	t|j�d|��WYdd}~XnXtr�t
d
�|j�t
dkr�|S|r�y|j�Wn�tk
r�t	d��Yn�tk
r7}z;trtjjd|f��nt	d|f��WYdd}~XnMttfk
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`%
'


0


%)rG�runcCs�|dkrtd|f��|atj}d|i}i}yvz_|tjd<|dk	rr|tjdd�<t|d	��}t|j�||�WdQRXWd|t_daXWntk
r�YnXtdkr�t	d
|��tS)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�open�exec�readr;r:�RuntimeError)r
rZ
stop_afterZ	save_argv�g�l�frrr�	run_setup�s*	
!	

rS)rr
rrrrrrrrrrrrrrr r!r"r#r$)rr%r&r'r(r)r*r+r,r-r.r/r0r1r2)rr8Zdistutils.debugrZdistutils.errorsZdistutils.distrZ
distutils.cmdrZdistutils.configrZdistutils.extensionrrrr<r:Zsetup_keywordsZextension_keywordsrGrSrrrr�<module>	s0
q

?>