Your IP : 18.118.144.239


Current Path : /proc/self/root/opt/alt/python37/lib64/python3.7/distutils/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python37/lib64/python3.7/distutils/__pycache__/core.cpython-37.opt-2.pyc

B

YI~d�"�@s�ddlZddlZddlmZddlTddlmZddlmZddl	m
Z
ddlmZdZ
d	d
�ZdadadZd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�3/opt/alt/python37/lib64/python3.7/distutils/core.py�	gen_usage sr)�	distclassr
�script_args�options�name�versionZauthorZauthor_emailZ
maintainerZmaintainer_emailZurl�license�descriptionZlong_description�keywordsZ	platformsZclassifiersZdownload_urlZrequiresZprovidesZ	obsoletes)rZsourcesZinclude_dirsZ
define_macrosZundef_macrosZlibrary_dirsZ	librariesZruntime_library_dirsZ
extra_objectsZextra_compile_argsZextra_link_argsZ	swig_optsZexport_symbolsZdepends�languagec
Ks|�d�}|r|d=nt}d|kr8tj�tjd�|d<d|krRtjdd�|d<y||�a}WnLtk
r�}z.d|kr�t	d|��nt	d|d|f��Wdd}~XYnXt
d	kr�|S|��tr�t
d
�|��t
dkr�|Sy|��}Wn:tk
�r*}zt	t|j�d|��Wdd}~XYnXt�rBt
d
�|��t
dk�rP|S|�ry|��Wn�tk
�r�t	d��Yn�tk
�r�}z.t�r�tj�d|f��nt	d|f��Wdd}~XYnBttfk
�r}zt�r�nt	dt|���Wdd}~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):�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`%
"(
"r.�runc	Cs�|dkrtd|f��|atj��}d|i}yZzH|tjd<|dk	rP|tjdd�<t|d��}t|��|�WdQRXWd|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�readr"r!�RuntimeError)r
rZ
stop_afterZ	save_argv�g�frrr�	run_setup�s(


r:)Nr/)rrZdistutils.debugrZdistutils.errorsZdistutils.distrZ
distutils.cmdrZdistutils.configrZdistutils.extensionrrrr#r!Zsetup_keywordsZextension_keywordsr.r:rrrr�<module>	s	q

?>