
Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­
<!DOCTYPE html>
<html>
U
    ¡ê,a¬"  ã                   @   s†   d dl Z d dlZd dlmZ d dlT d dlmZ d dlmZ d dl	m
Z
 d dlmZ dZd	d
„ ZdadadZdZdd„ Zddd„ZdS )é    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
c                 C   s   t j | ¡}ttƒ  S )N)ÚosÚpathÚbasenameÚUSAGEÚvars)Úscript_nameZscript© r   ú3/opt/alt/python38/lib64/python3.8/distutils/core.pyÚ	gen_usage    s    r   )Ú	distclassr   Úscript_argsZoptionsÚnameÚversionZauthorZauthor_emailZ
maintainerZmaintainer_emailZurlÚlicenseZdescriptionZlong_descriptionÚkeywordsZ	platformsZclassifiersZdownload_urlZrequiresZprovidesZ	obsoletes)r   ZsourcesZinclude_dirsZdefine_macrosZundef_macrosZlibrary_dirsZ	librariesZruntime_library_dirsZextra_objectsZextra_compile_argsZextra_link_argsZ	swig_optsZexport_symbolsZdependsZlanguagec               
   K   s  |   d¡}|r| d= nt}d| kr8tj tjd ¡| d< d| krRtjdd … | d< z|| ƒ a}W nL tk
r® } z.d| krŠt	d| ƒ‚nt	d| d |f ƒ‚W 5 d }~X Y nX t
d	kr¼|S | ¡  trØtd
ƒ | ¡  t
dkrä|S z| ¡ }W n: tk
�r* } zt	t|jƒd|  ƒ‚W 5 d }~X Y nX t�rBtdƒ | ¡  t
dk�rP|S |�rz| ¡  W nª tk
�r€   t	dƒ‚Y nŽ tk
�rÌ } z.t�r®tj d|f ¡ ‚ nt	d|f ƒ‚W 5 d }~X Y nB ttfk
�r } zt�rì‚ nt	dt|ƒ ƒ‚W 5 d }~X Y nX |S )Nr   r   r   r   é   r   zerror in setup command: %szerror 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: %szerror: )Úgetr   r   r	   r
   ÚsysÚargvÚ_setup_distributionZDistutilsSetupErrorÚ
SystemExitÚ_setup_stop_afterZparse_config_filesr   ÚprintZdump_option_dictsZparse_command_lineZDistutilsArgErrorr   r   Zrun_commandsÚKeyboardInterruptÚOSErrorÚstderrÚwriteZDistutilsErrorZCCompilerErrorÚstr)ZattrsÚklassZdistÚmsgÚokÚexcr   r   r   Úsetup9   sd    %

ÿ(
ÿ"r+   Úrunc              	   C   s´   |dkrt d|f ƒ‚|atj ¡ }d| i}zZzH| tjd< |d k	rP|tjdd …< t| dƒ�}t| ¡ |ƒ W 5 Q R X W 5 |t_d aX W n tk
rš   Y nX t	d kr°t
d|  ƒ‚t	S )N)r   r   r   r,   z"invalid value for 'stop_after': %rÚ__file__r   r   ÚrbzZ'distutils.core.setup()' was never called -- perhaps '%s' is not a Distutils setup script?)Ú
ValueErrorr    r   r   ÚcopyÚopenÚexecÚreadr   r   ÚRuntimeError)r   r   Z
stop_afterZ	save_argvÚgÚfr   r   r   Ú	run_setupª   s*    


þr7   )Nr,   )r   r   Zdistutils.debugr   Zdistutils.errorsZdistutils.distr   Zdistutils.cmdr   Zdistutils.configr   Zdistutils.extensionr   r   r   r    r   Zsetup_keywordsZextension_keywordsr+   r7   r   r   r   r   Ú<module>	   s   	q