Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/operations/build/wheel_legacy.pyc

ó
“tÆ_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/python35/lib/python3.5/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/python35/lib/python3.5/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/python35/lib/python3.5/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/python35/lib/python3.5/site-packages/pip/_internal/operations/build/wheel_legacy.pyt<module>s		
Back to Directory File Manager