Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
œèRc@€s¾dZddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlmZddl
mZddlmZddlmZddlmZmZmZd	Zeejd
ƒƒdZd„Zd
dd„Zyed„ZWnek
r6d„ZnXd„Z d„Z!ej"dej#ƒZ$d„Z%e&dd„Z(d„Z)e)d„ƒZ*de+fd„ƒYZ,de+fd„ƒYZ-dS(sH
Support for installing and building the "wheel" binary package format.
iÿÿÿÿ(twith_statementN(turlsafe_b64encode(tdistutils_scheme(tlogger(t
pep425tags(tcall_subprocesstnormalize_pathtmake_path_relatives.whlssetuptools>=0.8icC€sct}y(tjdƒ}|tkr-t}nWntjk
rDnX|s_tjdtƒn|S(sB
    Return True if we have a setuptools that supports wheel.
    t
setuptoolss"%s is required for wheel installs.(tFalset
pkg_resourcestget_distributiontsetuptools_requirementtTruetDistributionNotFoundRtwarn(t	fulfilledtinstalled_setuptools((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytwheel_setuptools_supports
tsha256iicC€s¤tj|ƒ}d}t|ƒO}|j|ƒ}x6|rk|t|ƒ7}|j|ƒ|j|ƒ}q6WWdQXdt|jƒƒjdƒj	dƒ}||fS(s6Return (hash, length) for path using hashlib.new(algo)iNssha256=tlatin1t=(
thashlibtnewtopentreadtlentupdateRtdigesttdecodetrstrip(tpathtalgot	blocksizethtlengthtftblockR((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytrehash)s	
(cC€s t|tƒr|jdƒS|S(Ntascii(t
isinstancetunicodetencode(ts((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytbinary8s
cC€s t|tƒr|jdƒSdS(NR'(R(tstrR*(R+((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyR,=scC€sItjddkr"i}d}nidd6}d}t||||S(Niitbttnewline(tsystversion_infoR(tnametmodetnltbin((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytopen_for_csvAs	
cC€sÜtjj|ƒrØt|dƒ}zj|jƒ}|jtdƒƒsItStj	j
tjƒƒ}tdƒ|ttjƒ}|j
ƒ}Wd|jƒXt|dƒ}z|j|ƒ|j|ƒWd|jƒXtSdS(sLReplace #!python with #!/path/to/python
    Return True if file was changed.trbs#!pythons#!Ntwb(tosRtisfileRtreadlinet
startswithR,R	R1t
executableR*tgetfilesystemencodingtlinesepRtclosetwriteR
(Rtscriptt	firstlinetexenametrest((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyt
fix_scriptJs 
sZ^(?P<namever>(?P<name>.+?)(-(?P<ver>\d.+?))?)
                                \.dist-info$c	C€s·|jddƒ}xžtj|ƒD]}tj|ƒ}|r"|jdƒ|kr"ttjj||dƒƒ:}x0|D](}|j	ƒj
ƒ}|dkrztSqzWWdQXq"q"WtS(sP
    Return True if the extracted wheel in wheeldir should go into purelib.
    t-t_R3tWHEELsroot-is-purelib: trueN(
treplaceR:tlistdirtdist_info_retmatchtgroupRRtjointlowerRR
R	(R3twheeldirtname_foldedtitemRNtwheeltline((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytroot_is_purelibds!
c
€sŸt|d|d|ƒ}t|ˆƒr4|d‰n
|d‰g‰g‰ˆjtjjƒtjj}i‰tƒ‰d„‰t‡‡‡‡‡fd†‰d‡‡‡‡fd†}||ˆt	ƒˆsàt
dˆƒ‚xˆD]ˆ}d}	xytjtjjˆ|ƒƒD]Y}
d}	|
d	kr3t
}	ntjjˆ||
ƒ}||
}|||td
|	ƒqWqçWtjjˆddƒ}tjjˆdd
ƒ}
t|dƒÕ}t|
dƒ½}tj|ƒ}tj|ƒ}xj|D]b}ˆj|d|dƒ|d<|dˆkrCt|dƒ\|d<|d<n|j|ƒqîWx(ˆD] }|jˆ|ddfƒq[WWdQXWdQXtj|
|ƒdS(sInstall a wheeltuserthometpurelibtplatlibcS€st||ƒjtjjdƒS(Nt/(RRKR:Rtsep(tsrctp((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytnormpathƒsc€sBˆ|ˆƒ}ˆ|ˆƒ}|ˆ|<|r>ˆj|ƒndS(s6Map archive RECORD paths to installation RECORD paths.N(tadd(tsrcfiletdestfiletmodifiedtoldpathtnewpath(tchangedt	installedtlib_dirR`RR(s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytrecord_installed†s

c€sótjj|ƒs"tj|ƒnxÊtj|ƒD]¹\}}}|t|ƒjtjjƒ}|r‘|jtjjdƒdj	dƒr‘q2nxÞ|D]Ö}tjj
|||ƒ}	|rê|dkrê|	j	dƒrêˆj|ƒq˜nb|rL|j	dƒrL|jƒj
ˆjjddƒjƒƒrLˆs<tdƒ‚ˆj|	ƒntjj|	ƒs˜tj|	ƒq˜q˜Wxv|D]n}
tjj
||
ƒ}tjj
|||
ƒ}tj||ƒt}
|r×||ƒ}
nˆ|||
ƒqyWq2WdS(	Niis.dataR/s
.dist-infoRHRIsMultiple .dist-info directories(R:RtexiststmakedirstwalkRtlstripR]tsplittendswithRPtappendRQR=tproject_nameRKtAssertionErrortshutiltmoveR	(tsourcetdesttis_basetfixertdirtsubdirstfilestbasedirR+t
destsubdirR$RbRcRg(t	data_dirstinfo_dirRjtreq(s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytclobberŽs4+
!
*
s!%s .dist-info directory not foundtscriptsRyitRECORDs
RECORD.piptrsw+iiR/N(RRWRR:RR]tsetR	tNoneR
RsRLRPRGR7tcsvtreadertwritertpopR&twriterowRtRu(R3RRRRXRYtschemeRvR‚tdatadirRytsubdirRwtrecordttemp_recordt	record_int
record_outR‰RŠtrowR$((	RgRR€RhRiR`RjRRRs>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytmove_wheel_filesssJ

		
%	

!
*c€s"tjˆƒ‡fd†ƒ}|S(Nc?€sHtƒ}x8ˆ||ŽD]'}||kr|j|ƒ|VqqWdS(N(R†Ra(targstkwtseenRT(tfn(s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytuniqueÊs
	
(t	functoolstwraps(R™Rš((R™s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyt_uniqueÉscc€s¶ddlm}tj||jdƒƒƒ}x|D]y}tjj|j|dƒ}|V|j	dƒr5tjj
|ƒ\}}|d }tjj||dƒ}|Vq5q5WdS(	s
    Yield all the uninstallation paths for dist based on RECORD-without-.pyc

    Yield paths to all the files in RECORD. For each .py file in RECORD, add
    the .pyc in the same directory.

    UninstallPathSet.add() takes care of the __pycache__ .pyc.
    iÿÿÿÿ(tFakeFileR„is.pyiýÿÿÿs.pycN(tpip.reqRžRˆR‰tget_metadata_linesR:RRPtlocationRpRo(tdistRžR…R”RtdnR™tbase((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytuninstallation_pathsÔs


tWheelcB€sDeZdZejdejƒZd„Zdd„Z	dd„Z
RS(sA wheel files¡^(?P<namever>(?P<name>.+?)(-(?P<ver>\d.+?))?)
                ((-(?P<build>\d.*?))?-(?P<pyver>.+?)-(?P<abi>.+?)-(?P<plat>.+?)
                \.whl|\.dist-info)$c€sˆjj|ƒ}|ˆ_|jdƒjddƒˆ_|jdƒˆ_|jdƒjdƒˆ_|jdƒjdƒˆ_	|jdƒjdƒˆ_
t‡fd	†ˆjDƒƒˆ_dS(
NR3RIRHtvertpyvert.tabitplatc3€s>|]4}ˆjD]$}ˆjD]}|||fVqqqdS(N(tabistplats(t.0txtytz(tself(s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pys	<genexpr>ÿs(
t
wheel_file_reRNtfilenameRORKR3tversionRot
pyversionsR¬R­R†t	file_tags(R²R´t
wheel_info((R²s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyt__init__õs	cC€s]|dkrtj}ng|jD]!}||kr"|j|ƒ^q"}|rYt|ƒSdS(sÏ
        Return the lowest index that a file_tag achieves in the supported_tags list
        e.g. if there are 8 supported tags, and one of the file tags is first in the
        list, then return 0.
        N(R‡Rtsupported_tagsR·tindextmin(R²ttagstctindexes((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytsupport_index_mins1cC€s4|dkrtj}ntt|ƒj|jƒƒS(s'Is this wheel supported on this system?N(R‡RRºtboolR†tintersectionR·(R²R½((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyt	supported
sN(t__name__t
__module__t__doc__tretcompiletVERBOSER³R¹R‡RÀRÃ(((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyR¦ês	
tWheelBuildercB€s/eZdZggd„Zd„Zd„ZRS(s#Build wheels from a RequirementSet.cC€s7||_||_t|ƒ|_||_||_dS(N(trequirement_settfinderRt	wheel_dirt
build_optionstglobal_options(R²RËRÌRÍRÎRÏ((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyR¹s
			cC€s¯tjdd|jgt|jƒ}tjd|jƒtjd|jƒ|dd|jg|j	}y!t
|d|jdtƒt
SWntjd	|jƒtSXd
S(sBuild one wheel.s-csjimport setuptools;__file__=%r;exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))s#Running setup.py bdist_wheel for %ssDestination directory: %stbdist_wheels-dtcwdtshow_stdoutsFailed building wheel for %sN(R1R>tsetup_pytlistRÏRtnotifyR3RÍRÎRt
source_dirR	R
terror(R²Rt	base_argst
wheel_args((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyt
_build_ones	
cC€s}|jj|jƒ|jjjƒ}tjj|jƒsMtj	|jƒnt
jddjg|D]}|j
^qcƒƒt
jd7_gg}}x\|D]T}|jrÈt
jd|jƒq n|j|ƒrç|j|ƒq |j|ƒq Wt
jd8_|r@t
jddjg|D]}|j
^q#ƒƒn|ryt
jddjg|D]}|j
^q\ƒƒndS(	s
Build wheels.s*Building wheels for collected packages: %ss, isSkipping building wheel: %ssSuccessfully built %st sFailed to build %sN(RËt
prepare_filesRÌtrequirementstvaluesR:RRkRÍRlRRÕRPR3tindenttis_wheelturlRÚRq(R²treqsetRt
build_successt
build_failure((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pytbuild1s&0

	3(RÄRÅRÆR¹RÚRå(((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyRÊs	i(.RÆt
__future__RRˆR›RR:R
RÇRtR1tbase64Rt
pip.locationsRtpip.logRtpipRtpip.utilRRRt	wheel_extRÔtparse_requirementsRRR&R)R,t	NameErrorR7RGRÈRÉRMRWR	R‡R•RR¥tobjectR¦RÊ(((s>/home/tvault/.virtenv/lib/python2.7/site-packages/pip/wheel.pyt<module>sB	



				V	*