Your IP : 216.73.216.213


Current Path : /opt/alt/python310/lib/python3.10/site-packages/wheel/cli/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib/python3.10/site-packages/wheel/cli/__pycache__/__init__.cpython-310.pyc

o

��a
�@stdZddlmZddlZddlZddlZdd�ZGdd�de�Zdd	�Z	d
d�Z
dd
�Zdd�Zdd�Z
dd�ZdS)z
Wheel command-line utility.
�)�print_functionNcCs,zddl}WdStytd�|���w)Nrz/'{0}' needs pkg_resources (part of setuptools).)�
pkg_resources�ImportError�RuntimeError�format)�namer�r�E/opt/alt/python310/lib/python3.10/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rcC�"ddlm}||j|j|j�dS)Nr)�pack)r�	directory�dest_dirZbuild_number)rrrrr	�pack_f�rcCr)Nr)�convert)r�filesr�verbose)rrrrr	�	convert_f!rrcCsddlm}td|�dS)N�)�__version__zwheel %s)�r �print)rr rrr	�	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>Gszparser.<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
���r9c
Csjt�}|��}t|d�s|��dSz|�|�WdSty4}zt|tjd�WYd}~dSd}~ww)Nr(r)�filer)	r9�
parse_args�hasattrr.r(rr"�sys�stderr)r0r�errr	�mainLs
�
��r@)�__doc__�
__future__rr2r5r=r
�	Exceptionrrrrr#r9r@rrrr	�<module>s!