HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/wheel/cli/__pycache__/__init__.cpython-310.pyc
o

c�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�4/usr/lib/python3/dist-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_dir�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�ArgumentParser�add_subparsers�
add_parser�add_argument�set_defaultsr�os�path�curdirrrr$)�s�
unpack_parser�
repack_parser�convert_parser�version_parser�help_parserrr0r	�parser+s6
���rBc
Csjt�}|��}t|d�s|��dSz|�|�WdSty4}zt|tjd�WYd}~dSd}~ww)Nr)r)�filer)	rB�
parse_args�hasattrr/r)rr#�sys�stderr)r1r�errr	�mainLs
�
��rI)�__doc__�
__future__rr3r9rFr
�	Exceptionrrrrr$rBrIrrrr	�<module>s!