404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.83.181: ~ $
�
�fc@sydZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZej
�dkr�ddl	mZejZnd	fd
��YZe�ZeejjfZyddlmZWnek
r�nXd�Zd
d�Zd�Zd�Zdd�Zdfd��YZdfd��YZdfd��YZdfd��YZ dS(s@
Improved support for Microsoft Visual C++ compilers.

Known supported compilers:
--------------------------
Microsoft Visual C++ 9.0:
    Microsoft Visual C++ Compiler for Python 2.7 (x86, amd64)
    Microsoft Windows SDK 6.1 (x86, x64, ia64)
    Microsoft Windows SDK 7.0 (x86, x64, ia64)

Microsoft Visual C++ 10.0:
    Microsoft Windows SDK 7.1 (x86, x64, ia64)

Microsoft Visual C++ 14.0:
    Microsoft Visual C++ Build Tools 2015 (x86, x64, arm)
    Microsoft Visual Studio 2017 (x86, x64, arm, arm64)
    Microsoft Visual Studio Build Tools 2017 (x86, x64, arm, arm64)
i����N(t
LegacyVersion(tfilterfalsei(t
get_unpatchedtWindows(twinregRcBs eZdZdZdZdZRS(N(t__name__t
__module__tNonet
HKEY_USERStHKEY_CURRENT_USERtHKEY_LOCAL_MACHINEtHKEY_CLASSES_ROOT(((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR(s(tRegcCs�d}|d|f}ytj|d�}WnQtk
ry&|d|f}tj|d�}Wq�tk
r{d}q�XnX|r�tjjjj|d�}tjj|�r�|Sntt	�|�S(s+
    Patched "distutils.msvc9compiler.find_vcvarsall" to use the standalone
    compiler build for Python (VCForPython). Fall back to original behavior
    when the standalone compiler is not available.

    Redirect the path of "vcvarsall.bat".

    Known supported compilers
    -------------------------
    Microsoft Visual C++ 9.0:
        Microsoft Visual C++ Compiler for Python 2.7 (x86, amd64)

    Parameters
    ----------
    version: float
        Required Microsoft Visual C++ version.

    Return
    ------
    vcvarsall.bat path: str
    s-Software\%sMicrosoft\DevDiv\VCForPython\%0.1ftt
installdirsWow6432Node\s
vcvarsall.batN(
Rt	get_valuetKeyErrorRtostpathtjointisfileRtmsvc9_find_vcvarsall(tversiontVC_BASEtkeyt
productdirt	vcvarsall((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR?s

tx86cOs�y#tt�}|||||�SWn'tjjk
r<ntk
rLnXyt||�j�SWn,tjjk
r�}t|||��nXdS(s�
    Patched "distutils.msvc9compiler.query_vcvarsall" for support extra
    compilers.

    Set environment without use of "vcvarsall.bat".

    Known supported compilers
    -------------------------
    Microsoft Visual C++ 9.0:
        Microsoft Visual C++ Compiler for Python 2.7 (x86, amd64)
        Microsoft Windows SDK 6.1 (x86, x64, ia64)
        Microsoft Windows SDK 7.0 (x86, x64, ia64)

    Microsoft Visual C++ 10.0:
        Microsoft Windows SDK 7.1 (x86, x64, ia64)

    Parameters
    ----------
    ver: float
        Required Microsoft Visual C++ version.
    arch: str
        Target architecture.

    Return
    ------
    environment: dict
    N(	Rtmsvc9_query_vcvarsallt	distutilsterrorstDistutilsPlatformErrort
ValueErrortEnvironmentInfot
return_envt_augment_exception(tvertarchtargstkwargstorigtexc((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRjs
cCsxytt�|�SWntjjk
r-nXyt|dd�j�SWn)tjjk
rs}t|d��nXdS(s'
    Patched "distutils._msvccompiler._get_vc_env" for support extra
    compilers.

    Set environment without use of "vcvarsall.bat".

    Known supported compilers
    -------------------------
    Microsoft Visual C++ 14.0:
        Microsoft Visual C++ Build Tools 2015 (x86, x64, arm)
        Microsoft Visual Studio 2017 (x86, x64, arm, arm64)
        Microsoft Visual Studio Build Tools 2017 (x86, x64, arm, arm64)

    Parameters
    ----------
    plat_spec: str
        Target architecture.

    Return
    ------
    environment: dict
    t
vc_min_verg,@N(Rtmsvc14_get_vc_envRRRR!R"R#(t	plat_specR)((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR+�s
cOsbdtjkrOddl}t|j�td�krO|jjj||�Sntt	�||�S(s�
    Patched "distutils._msvccompiler.gen_lib_options" for fix
    compatibility between "numpy.distutils" and "distutils._msvccompiler"
    (for Numpy < 1.11.2)
    snumpy.distutilsi����Ns1.11.2(
tsystmodulestnumpyRt__version__Rt	ccompilertgen_lib_optionsRtmsvc14_gen_lib_options(R&R'tnp((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR3�s
R
cCs�|jd}d|j�ks1d|j�kr�d}|jt��}d}|dkr�|j�jd�dkr�|d	7}||d
7}q�|d7}q�|dkr�|d
7}||d7}q�|dkr�|d7}q�n|f|_dS(sl
    Add details to the exception message to help guide the user
    as to what action will resolve it.
    iRsvisual cs0Microsoft Visual C++ {version:0.1f} is required.s-www.microsoft.com/download/details.aspx?id=%dg"@tia64i����s* Get it with "Microsoft Windows SDK 7.0": iBs% Get it from http://aka.ms/vcpython27g$@s* Get it with "Microsoft Windows SDK 7.1": iW g,@sj Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-toolsN(R&tlowertformattlocalstfind(R)RR%tmessagettmplt
msdownload((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR#�s 
$


tPlatformInfocBszeZdZejdd�j�Zd�Zed��Z	d�Z
d�Zeed�Z
eed�Zed	�ZRS(
s�
    Current and Target Architectures informations.

    Parameters
    ----------
    arch: str
        Target architecture.
    tprocessor_architectureR
cCs|j�jdd�|_dS(Ntx64tamd64(R6treplaceR%(tselfR%((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt__init__�scCs|j|jjd�dS(Nt_i(R%R9(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
target_cpu�scCs
|jdkS(NR(RE(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
target_is_x86scCs
|jdkS(NR(tcurrent_cpu(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytcurrent_is_x86scCs=|jdkr|rdS|jdkr2|r2dSd|jS(sj
        Current platform specific subfolder.

        Parameters
        ----------
        hidex86: bool
            return '' and not '�' if architecture is x86.
        x64: bool
            return 'd' and not 'md64' if architecture is amd64.

        Return
        ------
        subfolder: str
            '	arget', or '' (see hidex86 parameter)
        RR
R@s\x64s\%s(RG(RBthidex86R?((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytcurrent_dir	scCs=|jdkr|rdS|jdkr2|r2dSd|jS(sr
        Target platform specific subfolder.

        Parameters
        ----------
        hidex86: bool
            return '' and not '\x86' if architecture is x86.
        x64: bool
            return '\x64' and not '\amd64' if architecture is amd64.

        Return
        ------
        subfolder: str
            '\current', or '' (see hidex86 parameter)
        RR
R@s\x64s\%s(RE(RBRIR?((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
target_dirscCsB|rdn|j}|j|kr(dS|j�jdd|�S(so
        Cross platform specific subfolder.

        Parameters
        ----------
        forcex86: bool
            Use 'x86' as current architecture even if current acritecture is
            not x86.

        Return
        ------
        subfolder: str
            '' if target architecture is current architecture,
            '\current_target' if not.
        RR
s\s\%s_(RGRERKRA(RBtforcex86tcurrent((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt	cross_dir5s(RRt__doc__tsafe_envtgetR6RGRCtpropertyRERFRHtFalseRJRKRN(((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR=�s			tRegistryInfocBs�eZdZejejejejfZd�Z	e
d��Ze
d��Ze
d��Z
e
d��Ze
d��Ze
d��Ze
d��Ze
d	��Ze
d
��Zed�Zd�ZRS(
s�
    Microsoft Visual Studio related registry informations.

    Parameters
    ----------
    platform_info: PlatformInfo
        "PlatformInfo" instance.
    cCs
||_dS(N(tpi(RBt
platform_info((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRCZscCsdS(s<
        Microsoft Visual Studio root registry key.
        tVisualStudio((RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytvisualstudio]scCstjj|jd�S(s;
        Microsoft Visual Studio SxS registry key.
        tSxS(RRRRX(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytsxsdscCstjj|jd�S(s8
        Microsoft Visual C++ VC7 registry key.
        tVC7(RRRRZ(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytvckscCstjj|jd�S(s;
        Microsoft Visual Studio VS7 registry key.
        tVS7(RRRRZ(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytvsrscCsdS(s?
        Microsoft Visual C++ for Python registry key.
        sDevDiv\VCForPython((RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
vc_for_pythonyscCsdS(s-
        Microsoft SDK registry key.
        sMicrosoft SDKs((RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
microsoft_sdk�scCstjj|jd�S(s>
        Microsoft Windows/Platform SDK registry key.
        R(RRRR`(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytwindows_sdk�scCstjj|jd�S(s<
        Microsoft .NET Framework SDK registry key.
        tNETFXSDK(RRRR`(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt	netfx_sdk�scCsdS(s<
        Microsoft Windows Kits Roots registry key.
        sWindows Kits\Installed Roots((RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytwindows_kits_roots�scCs:|jj�s|rdnd}tjjd|d|�S(s

        Return key in Microsoft software registry.

        Parameters
        ----------
        key: str
            Registry key path where look.
        x86: str
            Force x86 software registry.

        Return
        ------
        str: value
        R
tWow6432NodetSoftwaret	Microsoft(RURHRRR(RBRRtnode64((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt	microsoft�s!cCs�tj}tj}|j}x�|jD]�}y||||�d|�}Wnkttfk
r�|jj�s%y"||||t	�d|�}Wq�ttfk
r�q%q�Xq�q%nXytj
||�dSWq%ttfk
r�q%Xq%WdS(s
        Look for values in registry in Microsoft software registry.

        Parameters
        ----------
        key: str
            Registry key path where look.
        name: str
            Value name to find.

        Return
        ------
        str: value
        iN(RtKEY_READtOpenKeyRitHKEYStOSErrortIOErrorRURHtTruetQueryValueEx(RBRtnameRjtopenkeytmsthkeytbkey((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytlookup�s"			"
(RRRORRR	R
RRlRCRRRXRZR\R^R_R`RaRcRdRSRiRv(((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRTLs"	t
SystemInfocBsjeZdZejdd�Zejdd�Zejde�Zdd�Z	d�Z
d�Zed��Z
ed	��Zd
�Zd�Zed��Zed
��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zd�Zdd�ZRS(s�
    Microsoft Windows and Visual Studio related system inormations.

    Parameters
    ----------
    registry_info: RegistryInfo
        "RegistryInfo" instance.
    vc_ver: float
        Required Microsoft Visual C++ version.
    tWinDirR
tProgramFilessProgramFiles(x86)cCs1||_|jj|_|p'|j�|_dS(N(triRUt_find_latest_available_vc_vertvc_ver(RBt
registry_infoR|((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRC�s	cCsBy|j�dSWn)tk
r=d}tjj|��nXdS(Ni����s%No Microsoft Visual C++ version found(tfind_available_vc_verst
IndexErrorRRR(RBterr((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR{�s

cCs�|jj}|jj|jj|jjf}g}xI|jjD];}x2|D]*}y%tj|||�dtj�}Wnt	t
fk
r�qMnXtj|�\}}}	xdt|�D]V}
y<t
tj||
�d�}||kr�|j|�nWq�tk
rq�Xq�Wx`t|�D]R}
y8t
tj||
��}||kr^|j|�nWq!tk
rrq!Xq!WqMWq@Wt|�S(sC
        Find all available Microsoft Visual C++ versions.
        i(RzRiR\R_R^RlRRkRjRmRntQueryInfoKeytrangetfloatt	EnumValuetappendR tEnumKeytsorted(RBRstvckeystvc_versRtRRutsubkeystvaluesRDtiR$((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR~�s2!
%

cCsKd|j}tjj|j|�}|jj|jjd|j�pJ|S(s4
        Microsoft Visual Studio directory.
        sMicrosoft Visual Studio %0.1fs%0.1f(R|RRRtProgramFilesx86RzRvR^(RBRqtdefault((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVSInstallDir
s
cCs�|j|j�p|j�}tjj|jjd|j�}|jj	|d�}|rqtjj|d�n|}|jj	|jj
d|j�p�|}tjj|�s�d}tj
j|��n|S(s1
        Microsoft Visual C++ directory.
        s%0.1fRtVCs(Microsoft Visual C++ directory not found(R�t	_guess_vct_guess_vc_legacyRRRRzR_R|RvR\tisdirRRR(RBtguess_vctreg_patht	python_vct
default_vcRtmsg((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVCInstallDirs"!(cCs||jdkrdSd}tjj|j|�}y*tj|�d}tjj||�SWntttfk
rwnXdS(s*
        Locate Visual C for 2017
        g,@Ns
VC\Tools\MSVCi����(	R|RRRR�tlistdirRmRnR(RBR�R�tvc_exact_ver((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�0scCs#d|j}tjj|j|�S(s<
        Locate Visual C for versions prior to 2017
        s Microsoft Visual Studio %0.1f\VC(R|RRRR�(RBR�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�@s
cCsc|jdkrdS|jdkr&dS|jdkr9dS|jdkrLdS|jdkr_dSdS(sN
        Microsoft Windows SDK versions for specified MSVC++ version.
        g"@s7.0s6.1s6.0ag$@s7.1s7.0ag&@s8.0s8.0ag(@s8.1s8.1ag,@s10.0N(s7.0s6.1s6.0a(s7.1s7.0a(s8.0s8.0a(s8.1s8.1a(s10.0s8.1(R|(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytWindowsSdkVersionGscCs|jtjj|jd��S(s4
        Microsoft Windows SDK last version
        tlib(t_use_last_dir_nameRRRt
WindowsSdkDir(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytWindowsSdkLastVersionWscCs�d}xO|jD]D}tjj|jjd|�}|jj|d�}|rPqqW|srtjj|�r�tjj|jjd|j	�}|jj|d�}|r�tjj|d�}q�n|s�tjj|�rKxd|jD]V}||j
d� }d|}tjj|j|�}tjj|�r�|}q�q�Wn|setjj|�r�xQ|jD]C}d	|}tjj|j|�}tjj|�ro|}qoqoWn|s�tjj|jd
�}n|S(s2
        Microsoft Windows SDK directory.
        R
sv%stinstallationfolders%0.1fRtWinSDKt.sMicrosoft SDKs\Windows Kits\%ssMicrosoft SDKs\Windows\v%stPlatformSDK(
R�RRRRzRaRvR�R_R|trfindRyR�(RBtsdkdirR$tlocRtinstall_basetintvertd((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�_s6"

c	Cs8|jdkrd}d}n<d}|jdkr9tnt}|jjdtd|�}d||jd	d
�f}g}|jdkr�x9|jD]+}|tjj	|j
j||�g7}q�Wnx:|jD]/}|tjj	|j
j
d||�g7}q�Wx-|D]%}|j
j|d
�}|rPqqW|S(s=
        Microsoft Windows SDK executable directory.
        g&@i#R
i(g(@R?RIsWinSDK-NetFx%dTools%ss\t-g,@sv%sAR�(R|RoRSRURJRAtNetFxSdkVersionRRRRzRcR�RaRv(	RBtnetfxverR%RItfxtregpathsR$Rtexecpath((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytWindowsSDKExecutablePath�s$	,-
cCsAd|j}tjj|jj|�}|jj|d�p@dS(s0
        Microsoft Visual F# directory.
        s%0.1f\Setup\F#RR
(R|RRRRzRXRv(RBR((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFSharpInstallDir�s
cCsb|jdkrd}nd}x7|D]/}|jj|jjd|�}|r%Pq%q%W|padS(s8
        Microsoft Universal CRT SDK directory.
        g,@t10t81s
kitsroot%sR
(R�R�((R|RzRvRd(RBtversR$R�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytUniversalCRTSdkDir�s	

cCs|jtjj|jd��S(s@
        Microsoft Universal C Runtime SDK last version
        R�(R�RRRR�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytUniversalCRTSdkLastVersion�scCs|jdkrdSdSdS(s8
        Microsoft .NET Framework SDK versions.
        g,@s4.6.1s4.6N(s4.6.1s4.6((R|(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR��scCsXxK|jD]@}tjj|jj|�}|jj|d�}|r
Pq
q
W|pWdS(s9
        Microsoft .NET Framework SDK directory.
        tkitsinstallationfolderR
(R�RRRRzRcRv(RBR$R�R�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytNetFxSdkDir�scCs7tjj|jd�}|jj|jjd�p6|S(s;
        Microsoft .NET Framework 32bit directory.
        sMicrosoft.NET\Frameworktframeworkdir32(RRRRxRzRvR\(RBtguess_fw((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFrameworkDir32�scCs7tjj|jd�}|jj|jjd�p6|S(s;
        Microsoft .NET Framework 64bit directory.
        sMicrosoft.NET\Framework64tframeworkdir64(RRRRxRzRvR\(RBR�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFrameworkDir64�scCs
|jd�S(s:
        Microsoft .NET Framework 32bit versions.
        i (t_find_dot_net_versions(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFrameworkVersion32�scCs
|jd�S(s:
        Microsoft .NET Framework 64bit versions.
        i@(R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFrameworkVersion64�scCs�|jj|jjd|�}t|d|�}|pM|j|d�pMd}|jdkrn|df}nR|jdkr�|j�d d	kr�d
n|df}n|jdkr�d}n|jdkr�d}n|S(s�
        Find Microsoft .NET Framework versions.

        Parameters
        ----------
        bits: int
            Platform number of bits: 32 or 64.
        sframeworkver%dsFrameworkDir%dtvR
g(@sv4.0g$@itv4s
v4.0.30319sv3.5g"@s
v2.0.50727g @sv3.0(sv3.5s
v2.0.50727(sv3.0s
v2.0.50727(RzRvR\tgetattrR�R|R6(RBtbitstreg_vertdot_net_dirR$tframeworkver((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�s
		cs;��fd�ttj���D�}t|d�p:dS(s�
        Return name of the last dir in path or '' if no dir found.

        Parameters
        ----------
        path: str
            Use dirs in this path
        prefix: str
            Use only dirs startings by this prefix
        c3sE|];}tjjtjj�|��r|j��r|VqdS(N(RRR�Rt
startswith(t.0tdir_name(Rtprefix(s3/usr/lib/python2.7/site-packages/setuptools/msvc.pys	<genexpr>)s!R
N(treversedRR�tnextR(RBRR�t
matching_dirs((RR�s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�sN( RRRORPRQRxRyR�RRCR{R~RRR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�(((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRw�s4
				&		R!cBs�eZdZddd�Zed��Zed��Zed��Zed��Z	ed��Z
ed��Zed	��Zed
��Z
ed��Zed��Zd
�Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed��Zed�Zd�Z dd�Z!RS(sY
    Return environment variables for specified Microsoft Visual C++ version
    and platform : Lib, Include, Path and libpath.

    This function is compatible with Microsoft Visual C++ 9.0 to 14.0.

    Script created by analysing Microsoft environment configuration files like
    "vcvars[...].bat", "SetEnv.Cmd", "vcbuildtools.bat", ...

    Parameters
    ----------
    arch: str
        Target architecture.
    vc_ver: float
        Required Microsoft Visual C++ version. If not set, autodetect the last
        version.
    vc_min_ver: float
        Minimum Microsoft Visual C++ version.
    icCsdt|�|_t|j�|_t|j|�|_|j|kr`d}tjj	|��ndS(Ns.No suitable Microsoft Visual C++ version found(
R=RURTRzRwtsiR|RRR(RBR%R|R*R�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRCIscCs
|jjS(s/
        Microsoft Visual C++ version.
        (R�R|(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR|RscCs�ddg}|jdkrd|jjdtdt�}|dg7}|dg7}|d|g7}ng|D]!}tjj|jj|�^qkS(	s/
        Microsoft Visual Studio Tools
        sCommon7\IDEs
Common7\Toolsg,@RIR?s1Common7\IDE\CommonExtensions\Microsoft\TestWindowsTeam Tools\Performance ToolssTeam Tools\Performance Tools%s(	R|RURJRoRRRR�R�(RBtpathstarch_subdirR((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVSToolsYs

cCs4tjj|jjd�tjj|jjd�gS(sL
        Microsoft Visual C++ & Microsoft Foundation Class Includes
        tIncludesATLMFC\Include(RRRR�R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
VCIncludeshscCs�|jdkr'|jjdt�}n|jjdt�}d|d|g}|jdkrs|d|g7}ng|D]!}tjj|jj|�^qzS(sM
        Microsoft Visual C++ & Microsoft Foundation Class Libraries
        g.@R?RIsLib%ssATLMFC\Lib%sg,@sLib\store%s(	R|RURKRoRRRR�R�(RBR�R�R((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVCLibrariespscCs/|jdkrgStjj|jjd�gS(sA
        Microsoft Visual C++ store references Libraries
        g,@sLib\store\references(R|RRRR�R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVCStoreRefs�scCs�|j}tjj|jd�g}|jdkr9tnt}|jj	|�}|r}|tjj|jd|�g7}n|jdkr�d|jj
dt�}|tjj|j|�g7}n�|jdkrs|jj�r�dnd}|tjj|j||jjd	t��g7}|jj
|jjkr�|tjj|j||jj
d	t��g7}q�n|tjj|jd
�g7}|S(s,
        Microsoft Visual C++ Tools
        t
VCPackagesg$@sBin%sg,@RIg.@s
bin\HostX86%ss
bin\HostX64%sR?tBin(R�RRRR�R|RoRSRURNRJRHRKRGRE(RBR�ttoolsRLR�Rthost_dir((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVCTools�s&	&"&,cCs�|jdkrJ|jjdtdt�}tjj|jjd|�gS|jjdt�}tjj|jjd�}|j	}tjj|d||f�gSdS(s1
        Microsoft Windows SDK Libraries
        g$@RIR?sLib%sR�s%sum%sN(
R|RURKRoRRRR�R�t_sdk_subdir(RBR�R�tlibver((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytOSLibraries�s 	cCs�tjj|jjd�}|jdkrC|tjj|d�gS|jdkr^|j}nd}tjj|d|�tjj|d|�tjj|d|�gSd	S(
s/
        Microsoft Windows SDK Include
        tincludeg$@tglg,@R
s%sshareds%sums%swinrtN(RRRR�R�R|R�(RBR�tsdkver((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
OSIncludes�scCstjj|jjd�}g}|jdkr@||j7}n|jdkrn|tjj|d�g7}n|jdkr||tjj|jjd�tjj|dd�tjj|d	d�tjj|d
d�tjj|jjddd
|jddd�g7}n|S(s7
        Microsoft Windows SDK Libraries Paths
        t
Referencesg"@g&@sCommonConfiguration\Neutralg,@t
UnionMetadatas'Windows.Foundation.UniversalApiContracts1.0.0.0s%Windows.Foundation.FoundationContracts,Windows.Networking.Connectivity.WwanContractt
ExtensionSDKssMicrosoft.VCLibss%0.1ftCommonConfigurationtneutral(RRRR�R�R|R�(RBtreftlibpath((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt	OSLibpath�s>					
cCst|j��S(s-
        Microsoft Windows SDK Tools
        (tlistt
_sdk_tools(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytSdkTools�sccs�|jdkrG|jdkr$dnd}tjj|jj|�Vn|jj�s�|jjdt	�}d|}tjj|jj|�Vn|jdks�|jdkr
|jj
�r�d}n|jjd	t	dt	�}d
|}tjj|jj|�Vnl|jdkrvtjj|jjd�}|jjdt	�}|jj}tjj|d||f�Vn|jjr�|jjVndS(
s=
        Microsoft Windows SDK Tools paths generator
        g.@g&@R�sBin\x86R?sBin%sg$@R
RIsBin\NETFX 4.0 Tools%ss%s%sN(
R|RRRR�R�RURHRJRoRFR�R�(RBtbin_dirR�RR�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR��s(
	
!cCs|jj}|rd|SdS(s6
        Microsoft Windows SDK version subdir
        s%s\R
(R�R�(RBtucrtver((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�scCs/|jdkrgStjj|jjd�gS(s-
        Microsoft Windows SDK Setup
        g"@tSetup(R|RRRR�R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytSdkSetup%scCs�|j}|j}|jdkrDt}|j�o>|j�}n6|j�pY|j�}|jdkpw|jdk}g}|r�|g|jD]}t	j
j|j|�^q�7}n|r�|g|j
D]}t	j
j|j|�^q�7}n|S(s0
        Microsoft .NET Framework Tools
        g$@R@(RUR�R|RoRFRHRGRER�RRRR�R�R�(RBRUR�t	include32t	include64R�R$((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFxTools/s		//cCsU|jdks|jjr gS|jjdt�}tjj|jjd|�gS(s8
        Microsoft .Net Framework SDK Libraries
        g,@R?slib\um%s(	R|R�R�RURKRoRRR(RBR�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytNetFxSDKLibrariesGscCs<|jdks|jjr gStjj|jjd�gS(s7
        Microsoft .Net Framework SDK Includes
        g,@s
include\um(R|R�R�RRR(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytNetFxSDKIncludesRscCstjj|jjd�gS(s>
        Microsoft Visual Studio Team System Database
        s
VSTSDB\Deploy(RRRR�R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVsTDb\scCs�|jdkrgS|jdkrF|jj}|jjdt�}n|jj}d}d|j|f}tjj	||�g}|jdkr�|tjj	||d�g7}n|S(s(
        Microsoft Build Engine
        g(@g.@RIR
sMSBuild\%0.1f\bin%stRoslyn(
R|R�R�RURJRoR�RRR(RBt	base_pathR�Rtbuild((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytMSBuildcs"cCs/|jdkrgStjj|jjd�gS(s.
        Microsoft HTML Help Workshop
        g&@sHTML Help Workshop(R|RRRR�R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytHTMLHelpWorkshopzscCsl|jdkrgS|jjdt�}tjj|jjd�}|j	}tjj|d||f�gS(s=
        Microsoft Universal C Runtime SDK Libraries
        g,@R?R�s%sucrt%s(
R|RURKRoRRRR�R�t_ucrt_subdir(RBR�R�R�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt
UCRTLibraries�s	cCsK|jdkrgStjj|jjd�}tjj|d|j�gS(s;
        Microsoft Universal C Runtime SDK Include
        g,@R�s%sucrt(R|RRRR�R�R�(RBR�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytUCRTIncludes�scCs|jj}|rd|SdS(sB
        Microsoft Universal C Runtime SDK version subdir
        s%s\R
(R�R�(RBR�((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR��scCs,|jdkr"|jdkr"gS|jjS(s%
        Microsoft Visual F#
        g&@g(@(R|R�R�(RB((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytFSharp�scCs�|jjdt�}|jdkr9|jj}d}n|jjjdd�}d}|jdkrldn|j}|||j|f}tjj	||�S(sA
        Microsoft Visual C++ runtime redistribuable dll
        R?is-redist%s\Microsoft.VC%d0.CRT\vcruntime%d0.dlls\Toolss\Redists.onecore%s\Microsoft.VC%d0.CRT\vcruntime%d0.dllg,@(
RURKRoR|R�R�RARRR(RBR�tredist_patht	vcruntimetdll_ver((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pytVCRuntimeRedist�s	cCstd|jd|j|j|j|jg|�d|jd|j|j|j|j	|j
g|�d|jd|j|j|j|jg|�d|jd|j
|j|j|j|j|j|j|j|jg	|��}|jdkrtjj|j�r|j|d<n|S(s�
        Return environment dict.

        Parameters
        ----------
        exists: bool
            It True, only return existing paths.
        R�R�R�Ritpy_vcruntime_redist(tdictt_build_pathsR�R�RR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RR|RRRR(RBtexiststenv((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR"�sD												$c
Cs�tjj|�}tj|d�jtj�}tj||�}|rctt	tj
j|��n|}|s�d|j�}t
jj|��n|j|�}	tjj|	�S(s
        Given an environment variable name and specified paths,
        return a pathsep-separated string of paths containing
        unique, extant, directories from those paths and from
        the environment variable. Raise an error if no paths
        are resolved.
        R
s %s environment variable is empty(t	itertoolstchaint
from_iterableRPRQtsplitRtpathsepR�tfilterRR�tupperRRRt_unique_everseenR(
RBRqtspec_path_listsR	t
spec_pathst	env_pathsR�textant_pathsR�tunique_paths((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR�s	'ccs�t�}|j}|dkrMxgt|j|�D]}||�|Vq1Wn;x8|D]0}||�}||krT||�|VqTqTWdS(s�
        List unique elements, preserving order.
        Remember all elements ever seen.

        _unique_everseen('AAAABBBCCDAABBB') --> A B C D

        _unique_everseen('ABBCcAD', str.lower) --> A B C D
        N(tsettaddRRt__contains__(RBtiterableRtseentseen_addtelementtk((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyRs			


N("RRRORRCRRR|R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RR�RRRoR"RR(((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyR!1s:		 -	




-	(!RORR-tplatformRtdistutils.errorsRt#setuptools.extern.packaging.versionRtsetuptools.extern.six.movesRtmonkeyRtsystemRtenvironRPRtImportErrorRRt_msvc9_suppress_errorstdistutils.msvc9compilerRRRR+R3R#R=RTRwR!(((s3/usr/lib/python2.7/site-packages/setuptools/msvc.pyt<module>s:	
	+/	&	
%[��a

Filemanager

Name Type Size Permission Actions
_vendor Folder 0755
command Folder 0755
extern Folder 0755
__init__.py File 5.57 KB 0644
__init__.pyc File 7.45 KB 0644
__init__.pyo File 7.45 KB 0644
archive_util.py File 6.44 KB 0644
archive_util.pyc File 6 KB 0644
archive_util.pyo File 6 KB 0644
build_meta.py File 5.54 KB 0644
build_meta.pyc File 6.48 KB 0644
build_meta.pyo File 6.37 KB 0644
config.py File 16 KB 0644
config.pyc File 16.49 KB 0644
config.pyo File 16.49 KB 0644
dep_util.py File 935 B 0644
dep_util.pyc File 965 B 0644
dep_util.pyo File 965 B 0644
depends.py File 5.7 KB 0644
depends.pyc File 6.33 KB 0644
depends.pyo File 6.33 KB 0644
dist.py File 41.52 KB 0644
dist.pyc File 40.53 KB 0644
dist.pyo File 40.47 KB 0644
extension.py File 1.69 KB 0644
extension.pyc File 2.36 KB 0644
extension.pyo File 2.36 KB 0644
glibc.py File 3.07 KB 0644
glibc.pyc File 1.91 KB 0644
glibc.pyo File 1.91 KB 0644
glob.py File 5.08 KB 0644
glob.pyc File 4.71 KB 0644
glob.pyo File 4.64 KB 0644
launch.py File 787 B 0644
launch.pyc File 1000 B 0644
launch.pyo File 1000 B 0644
lib2to3_ex.py File 1.97 KB 0644
lib2to3_ex.pyc File 2.93 KB 0644
lib2to3_ex.pyo File 2.93 KB 0644
monkey.py File 5.65 KB 0644
monkey.pyc File 6.19 KB 0644
monkey.pyo File 6.19 KB 0644
msvc.py File 39.92 KB 0644
msvc.pyc File 39.41 KB 0644
msvc.pyo File 39.41 KB 0644
namespaces.py File 3.12 KB 0644
namespaces.pyc File 4.92 KB 0644
namespaces.pyo File 4.92 KB 0644
package_index.py File 39.21 KB 0644
package_index.pyc File 38.81 KB 0644
package_index.pyo File 38.81 KB 0644
pep425tags.py File 10.63 KB 0644
pep425tags.pyc File 9.12 KB 0644
pep425tags.pyo File 9.12 KB 0644
py27compat.py File 536 B 0644
py27compat.pyc File 1.02 KB 0644
py27compat.pyo File 1.02 KB 0644
py31compat.py File 1.16 KB 0644
py31compat.pyc File 1.85 KB 0644
py31compat.pyo File 1.85 KB 0644
py33compat.py File 1.15 KB 0644
py33compat.pyc File 1.68 KB 0644
py33compat.pyo File 1.68 KB 0644
py36compat.py File 2.82 KB 0644
py36compat.pyc File 2.79 KB 0644
py36compat.pyo File 2.79 KB 0644
sandbox.py File 13.94 KB 0644
sandbox.pyc File 18.46 KB 0644
sandbox.pyo File 18.46 KB 0644
script (dev).tmpl File 201 B 0644
script.tmpl File 138 B 0644
site-patch.py File 2.25 KB 0644
site-patch.pyc File 1.7 KB 0644
site-patch.pyo File 1.7 KB 0644
ssl_support.py File 8.29 KB 0644
ssl_support.pyc File 8.32 KB 0644
ssl_support.pyo File 8.32 KB 0644
unicode_utils.py File 996 B 0644
unicode_utils.pyc File 1.44 KB 0644
unicode_utils.pyo File 1.44 KB 0644
version.py File 144 B 0644
version.pyc File 322 B 0644
version.pyo File 322 B 0644
wheel.py File 7.06 KB 0644
wheel.pyc File 7.17 KB 0644
wheel.pyo File 7.14 KB 0644
windows_support.py File 714 B 0644
windows_support.pyc File 1.24 KB 0644
windows_support.pyo File 1.24 KB 0644