403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.7/site-packages/setuptools/_distutils/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.7/site-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-37.pyc
B

�a�V�@s�dZddlZddlZddlZddlZddlmZdejkZej	�
ej�Zej	�
ej
�Zej	�
ej�Zej	�
ej�Zdejkr�ej	�ejd�Zn&ejr�ej	�ej	�ej��Zne��Zdd�Zeed	d�Zejd
kr�dd�Zee�Zee�Zd
d�Ze�ZdZ ye�sej!Z Wne"k
�r$YnXdd�Z#d1dd�Z$dd�Z%d2dd�Z&dd�Z'dd�Z(dZ)dd�Z*d3dd �Z+e�,d!�Z-e�,d"�Z.e�,d#�Z/d4d$d%�Z0d&d'�Z1da2d(Z3d)d*�Z4d+d,�Z5d-d.�Z6d/d0�Z7dS)5a�Provide access to Python's configuration information.  The specific
configuration variables available depend heavily on the platform and
configuration.  The values may be retrieved using
get_config_var(name), and the list of variables is available via
get_config_vars().keys().  Additional convenience functions are also
available.

Written by:   Fred L. Drake, Jr.
Email:        <fdrake@acm.org>
�N�)�DistutilsPlatformErrorZ__pypy__Z_PYTHON_PROJECT_BASEcCs.x(dD] }tj�tj�|d|��rdSqWdS)N)ZSetupzSetup.localZModulesTF)�os�path�isfile�join)�d�fn�r
�C/usr/lib/python3.7/site-packages/setuptools/_distutils/sysconfig.py�_is_python_source_dir,s
r�_home�ntcCs0|r,tj�|��tj�tj�td���r,tS|S)NZPCbuild)rr�normcase�
startswithr�PREFIX)rr
r
r�_fix_pcbuild5srcCstrtt�Stt�S)N)�	_sys_homer�project_baser
r
r
r�
_python_build=sr�cCsdtjdd�S)z�Return a string containing the major and minor Python version,
    leaving off the patchlevel.  Sample return values could be '1.5'
    or '2.2'.
    z%d.%dN�)�sys�version_infor
r
r
r�get_python_versionQsrcCs�|dkr|rtpt}tjdkr�tr:tjdkr:tj�|d�St	rh|rJt
pHtStj�td�d�}tj�
|�Strpdnd}|t�t}tj�|d|�Stjd	kr�t	r�tj�|d�tjjtj�|d
�Stj�|d�Stdtj��dS)a�Return the directory containing installed Python header files.

    If 'plat_specific' is false (the default), this is the path to the
    non-platform-specific header files, i.e. Python.h and so on;
    otherwise, this is the path to platform-specific header files
    (namely pyconfig.h).

    If 'prefix' is supplied, use it instead of sys.base_prefix or
    sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
    N�posix)��Zinclude�srcdirZInclude�pypy�pythonr�PCzFI don't know where Python installs its C header files on platform '%s')�BASE_EXEC_PREFIX�BASE_PREFIXr�name�IS_PYPYrrrr�python_buildrr�get_config_var�normpathr�build_flags�pathsepr)�
plat_specific�prefixZincdir�implementationZ
python_dirr
r
r�get_python_incYs*

r.cCs|r|Stj�|d�SdS)Nz
site-packages)rrr)�standard_lib�	libpython�early_prefixr,r
r
r�
_posix_lib�sr2cCstrBtjdkrB|dkrt}|r4tj�|dtjd�Stj�|d�S|}|dkrl|r`|rZtp\t	}n|rht
pjt}tjdkr�|s~|r�ttdd�}nd}tr�d	nd
}tj�|||t
��}t||||�Stjdkr�|r�tj�|d�Stj�|dd�Sntd
tj��dS)aSReturn the directory containing the Python library (standard or
    site additions).

    If 'plat_specific' is true, return the directory containing
    platform-specific modules, i.e. any module from a non-pure-Python
    module distribution; otherwise, return the platform-shared library
    directory.  If 'standard_lib' is true, return the directory
    containing standard Python library modules; otherwise, return the
    directory for site-specific modules.

    If 'prefix' is supplied, use it instead of sys.base_prefix or
    sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
    )rrNz
lib-pythonrz
site-packagesrZ
platlibdir�librr rZLibz?I don't know where Python installs its library on platform '%s')r%rrrrrr�versionr"r#�EXEC_PREFIXr$�getattrrr2r)r+r/r,r1Zlibdirr-r0r
r
r�get_python_lib�s4


r7c	Cs|jdk�rtjdkr8td�s8ddl}|�t�dtd<tddd	d
ddd
d�\}}}}}}}}	dtj	kr�tj	d}
dtj	kr�|�
|�r�|
|t|�d�}|
}dtj	kr�tj	d}dtj	kr�tj	d}dtj	kr�tj	d}n|d}dtj	k�r|dtj	d}d	tj	k�r2|dtj	d	}|dtj	d	}dtj	k�rt|dtj	d}|dtj	d}|dtj	d}d
tj	k�r�tj	d
}dtj	k�r�|dtj	d}n|d|	}|d|}
|j||
|
d|||||d�dtj	k�r|j
�dd��r|jtj	dd�||_dS)z�Do any platform-specific customization of a CCompiler instance.

    Mainly needed on Unix, so we can plug in the information that
    varies across Unices and is stored in Python's Makefile.
    Zunix�darwinZCUSTOMIZED_OSX_COMPILERrN�TrueZCCZCXX�CFLAGSZCCSHAREDZLDSHAREDZSHLIB_SUFFIXZARZARFLAGSZCPPz -E�LDFLAGS� �CPPFLAGS)Zpreprocessor�compilerZcompiler_soZcompiler_cxxZ	linker_soZ
linker_exe�archiverZRANLIB�ranlib)r@)Z
compiler_typer�platformr'�_osx_support�customize_compiler�_config_vars�get_config_varsr�environr�lenZset_executablesZexecutables�getZshared_lib_extension)r>rBZccZcxxZcflagsZccsharedZldsharedZshlib_suffix�arZar_flagsZnewccZcppr?Zcc_cmdr
r
rrC�s^












rCcCsDtr,tjdkr"tj�tptd�}q6tp(t}n
tdd�}tj�|d�S)z2Return full pathname of installed pyconfig.h file.rr!r)r+z
pyconfig.h)r&rr$rrrrr.)Zinc_dirr
r
r�get_config_h_filenames


rJz+config-{python_ver}{build_flags}{multiarch}cCs`trtj�tptd�Stddd�}ttj	d�r:dtj	j
nd}tjt
�t|d�}tj�||d�S)	zAReturn full pathname of installed Makefile from the Python build.ZMakefilerr)r+r/�
_multiarchz-%sr)Z
python_verr)�	multiarch)r&rrrrrr7�hasattrrr-rK�_makefile_tmpl�formatrr))Zlib_dirrLZconfig_filer
r
r�get_makefile_filenamesrPcCs�|dkri}t�d�}t�d�}xx|��}|s0P|�|�}|rz|�dd�\}}yt|�}Wntk
rnYnX|||<q"|�|�}|r"d||�d�<q"W|S)z�Parse a config.h-style file.

    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    Nz"#define ([A-Z][A-Za-z0-9_]+) (.*)
z&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
rrr)�re�compile�readline�match�group�int�
ValueError)�fp�gZ	define_rxZundef_rx�line�m�n�vr
r
r�parse_config_h0s(




r^z"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)z\$\(([A-Za-z][A-Za-z0-9_]*)\)z\${([A-Za-z][A-Za-z0-9_]*)}c	Cs�ddlm}||ddddd�}|dkr*i}i}i}x�|��}|dkrFPt�|�}|r4|�dd�\}}	|	��}	|	�dd	�}
d
|
kr�|	||<q4yt|	�}	Wn$t	k
r�|	�dd
�||<Yq4X|	||<q4Wd}�x�|�r��x�t
|�D�]�}||}
t�|
��pt
�|
�}|�rx|�d�}d}||k�r2t||�}n�||k�rBd
}nx|tjk�rZtj|}n`||k�r�|�d��r�|dd�|k�r�d	}n$d||k�r�d
}nt|d|�}nd	||<}|�r~|
|��d�}|
d|���||}
d
|k�r�|
||<nzyt|
�}
Wn"t	k
�r*|
��||<Yn
X|
||<||=|�d��r~|dd�|k�r~|dd�}||k�r~|
||<q�||=q�Wq�W|��x.|��D]"\}}	t|	t��r�|	��||<�q�W|�|�|S)z�Parse a Makefile-style file.

    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    r)�TextFiler�surrogateescape)Zstrip_commentsZskip_blanksZ
join_lines�errorsNrz$$r�$)r:r;r=TFZPY_r)Zdistutils.text_filer_rS�_variable_rxrTrU�strip�replacerVrW�list�_findvar1_rx�search�_findvar2_rx�strrrFr�end�start�close�items�
isinstance�update)r	rYr_rXZdoneZnotdonerZr[r\r]ZtmpvZrenamed_variablesr$�value�found�itemZafter�kr
r
r�parse_makefileSs�











rucCsZxTt�|�pt�|�}|rP|��\}}|d|�|�|�d��||d�}qPqW|S)a�Expand Makefile-style variables -- "${foo}" or "$(foo)" -- in
    'string' according to 'vars' (a dictionary mapping variable names to
    values).  Variables not present in 'vars' are silently expanded to the
    empty string.  The variable values in 'vars' should not contain further
    variable expansions; if 'vars' is the output of 'parse_makefile()',
    you're fine.  Returns a variable-expanded version of 's'.
    rrN)rgrhri�spanrHrU)�s�varsr[Zbegrkr
r
r�expand_makefile_vars�s*ryz+_sysconfigdata_{abi}_{platform}_{multiarch}c
Cs�tj�dtjtjtjttj	dd�d��}yt
|t�t�dgd�}Wn*t
k
rlt
dt�t�dgd�}YnX|j}iat�|�dS)	z7Initialize the module as appropriate for POSIX systems.Z_PYTHON_SYSCONFIGDATA_NAMErKr)ZabirArL�build_time_varsrZ_sysconfigdataN)rrFrH�_sysconfig_name_tmplrOr�abiflagsrAr6r-�
__import__�globals�locals�ImportErrorrzrDrp)r$Z_temprzr
r
r�_init_posix�sr�cCs~i}tddd�|d<tddd�|d<tdd�|d<t��d|d<d	|d
<t��dd�|d
<tj�tj�	t
j��|d<|adS)z+Initialize the module as appropriate for NTrr)r+r/ZLIBDESTZ
BINLIBDEST)r+Z	INCLUDEPY�
EXT_SUFFIXz.exeZEXE�.rZVERSIONZBINDIRN)
r7r.�_imp�extension_suffixesrrerr�dirname�abspathr�
executablerD)rYr
r
r�_init_nt�sr�cGsftdk�r0t��dtj�}|r(|�niattd<ttd<t�st�d�}|dk	r\|td<t�dt�}tjdkr�t	r�tj
�t��}tj
�
||�}ntj
�t��}tj
�tj
�|��td<t	�rtjdk�rt}tj
�td��s|t��k�rtj
�
|td�}tj
�|�td<tjd	k�r0d
dl}|�t�|�r^g}x|D]}|�t�|���q@W|StSdS)a�With no arguments, return a dictionary of all configuration
    variables relevant for the current platform.  Generally this includes
    everything needed to build extensions and install both pure modules and
    extensions.  On Unix, this means every variable defined in Python's
    installed Makefile; on Windows it's a much smaller set.

    With arguments, return a list of values that result from looking up
    each argument in the configuration variable dictionary.
    NZ_init_r,�exec_prefixr��SOrrr8r)rDr~rHrr$rr5r%rr&rr�rPrr�r(�isabs�getcwdrrArBZcustomize_config_vars�append)�args�funcr�r�baserBZvalsr$r
r
rrEsB




rEcCs*|dkrddl}|�dtd�t��|�S)z�Return the value of a single variable using the dictionary
    returned by 'get_config_vars()'.  Equivalent to
    get_config_vars().get(name)
    r�rNz SO is deprecated, use EXT_SUFFIXr)�warnings�warn�DeprecationWarningrErH)r$r�r
r
rr'Qsr')rN)rrN)N)N)8�__doc__r�rrQrrar�builtin_module_namesr%rr(r,rr�r5�base_prefixr#�base_exec_prefixr"rFr�rr�r�r�rr6rr$rrr&r)r|�AttributeErrorrr.r2r7rCrJrNrPr^rRrcrgriruryrDr{r�r�rEr'r
r
r
r�<module>
sb




,
7K




jK

Youez - 2016 - github.com/yon3zu
LinuXploit