ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/build/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/build/wheel_legacy.pyc

�
x�_c@s�ddlZddlZddlmZddlmZddlmZm	Z	m
Z
ddlmZer�ddl
mZmZmZneje�Zd�Zd�Zd	�ZdS(
i����N(topen_spinner(t make_setuptools_bdist_wheel_args(tLOG_DIVIDERtcall_subprocesstformat_command_args(tMYPY_CHECK_RUNNING(tListtOptionaltTextcCs�t|�}dj|�}|s.|d7}nTtj�tjkrP|d7}n2|jd�sl|d7}n|dj|t�7}|S(s'Format command information for logging.sCommand arguments: {}
sCommand output: Nones'Command output: [use --verbose to show]s
sCommand output:
{}{}(RtformattloggertgetEffectiveLeveltloggingtDEBUGtendswithR(tcommand_argstcommand_outputtcommand_descttext((s\/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/build/wheel_legacy.pytformat_command_results


cCs�t|�}|sEdj|�}|t||�7}tj|�dSt|�dkr�dj||�}|t||�7}tj|�ntjj	||d�S(s>Return the path to the wheel in the temporary build directory.s1Legacy build of wheel for {!r} created no files.
isZLegacy build of wheel for {!r} created more than one file.
Filenames (choosing first): {}
iN(
tsortedR	RR
twarningtNonetlentostpathtjoin(tnamesttemp_dirtnameRRtmsg((s\/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/build/wheel_legacy.pytget_legacy_build_wheel_path*s
	
cCs�t|d|d|d|�}dj|�}t|���}tjd|�yt|d|d|�}	Wn/tk
r�|jd�tjd	|�dSXt
j|�}
td
|
d|d|d
|d|	�}|SWdQXdS(s�Build one unpacked package using the "legacy" build process.

    Returns path to wheel if successfully built. Otherwise, returns None.
    tglobal_optionst
build_optionstdestination_dirs Building wheel for {} (setup.py)sDestination directory: %stcwdtspinnerterrorsFailed building wheel for %sRRRRRN(
RR	RR
tdebugRt	ExceptiontfinishR%RRtlistdirR(Rt
setup_py_patht
source_dirR R!ttempdt
wheel_argstspin_messageR$toutputRt
wheel_path((s\/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/build/wheel_legacy.pytbuild_wheel_legacyHs2
	


	(Rtos.pathRtpip._internal.cli.spinnersRt$pip._internal.utils.setuptools_buildRtpip._internal.utils.subprocessRRRtpip._internal.utils.typingRttypingRRRt	getLoggert__name__R
RRR1(((s\/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/operations/build/wheel_legacy.pyt<module>s		

Zerion Mini Shell 1.0