Your IP : 216.73.216.213


Current Path : /opt/alt/python39/lib/python3.9/site-packages/wheel/cli/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib/python3.9/site-packages/wheel/cli/__pycache__/__init__.cpython-39.pyc

a

��a
�@stdZddlmZddlZddlZddlZdd�ZGdd�de�Zdd	�Z	d
d�Z
dd
�Zdd�Zdd�Z
dd�ZdS)z
Wheel command-line utility.
�)�print_functionNcCs2zddl}Wn ty,td�|���Yn0dS)Nrz/'{0}' needs pkg_resources (part of setuptools).)�
pkg_resources�ImportError�RuntimeError�format)�namer�r�C/opt/alt/python39/lib/python3.9/site-packages/wheel/cli/__init__.py�require_pkgresourcessr
c@seZdZdS)�
WheelErrorN)�__name__�
__module__�__qualname__rrrr	rsrcCsddlm}||j|j�dS)N�)�unpack)r�	wheelfile�dest)�argsrrrr	�unpack_fsrcCs"ddlm}||j|j|j�dS)Nr)�pack)r�	directory�dest_dirZbuild_number)rrrrr	�pack_fsrcCs"ddlm}||j|j|j�dS)Nr)�convert)r�filesr�verbose)rrrrr	�	convert_f!srcCsddlm}td|�dS)N�)�__version__zwheel %s)�r�print)rrrrr	�	version_f&sr!cs*t����jdd�}|jddd�}|jddddd	�|jd
dd�|jtd�|jd
dd�}|jddd�|jddtjj	dd�|jddd�|jt
d�|jddd�}|jdddd�|jddtjj	dd�|jdddd �|jtd�|jd!d"d�}|jtd�|jd#d$d�}|j�fd%d&�d��S)'N�commands)�helprzUnpack wheelz--destz-dzDestination directory�.)r#�defaultrz
Wheel file)�funcrzRepack wheelrz$Root directory of the unpacked wheelz
--dest-dirz2Directory to store the wheel (default %(default)s))r%r#z--build-numberz"Build tag to use in the wheel namerzConvert egg or wininst to wheelr�*zFiles to convert)�nargsr#z/Directory to store wheels (default %(default)s)z	--verbosez-v�
store_true)�action�versionzPrint version and exitr#zShow this helpcs���S)N)�
print_help)r��prr	�<lambda>G�zparser.<locals>.<lambda>)
�argparse�ArgumentParserZadd_subparsersZ
add_parser�add_argumentZset_defaultsr�os�path�curdirrrr!)�sZ
unpack_parserZ
repack_parserZconvert_parserZversion_parserZhelp_parserrr-r	�parser+s6
���r8c
Csjt�}|��}t|d�s"|��nDz|�|�WdStyd}zt|tjd�WYd}~n
d}~00dS)Nr&r)�filer)	r8�
parse_args�hasattrr,r&rr �sys�stderr)r.r�errr	�mainLs


$r?)�__doc__�
__future__rr1r4r<r
�	Exceptionrrrrr!r8r?rrrr	�<module>s!