| 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.6/site-packages/setuptools/_distutils/__pycache__/ |
Upload File : |
3
��a�V � @ s� d Z ddlZddlZddlZddlZddlmZ dejkZej j
ej�Zej j
ej
�Zej j
ej�Zej j
ej�Zdejkr�ej jejd �Zn&ejr�ej jej jej��Znej� Zdd� Zeed d�Zejd
kr�dd� Zee�Zee�Zd
d� Ze� ZdZ ye�sej!Z W n e"k
�r$ Y nX dd� Z#d1dd�Z$dd� Z%d2dd�Z&dd� Z'dd� Z(dZ)dd� Z*d3dd �Z+ej,d!�Z-ej,d"�Z.ej,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_BASEc C s. x(dD ] }t jjt jj| d|��rdS qW dS )N�Setup�Setup.local�ModulesTF)r r )�os�path�isfile�join)�d�fn� r
�/usr/lib/python3.6/sysconfig.py�_is_python_source_dir, s
r �_home�ntc C s0 | r,t jj| �jt jjt jjtd���r,tS | S )NZPCbuild)r r �normcase�
startswithr
�PREFIX)r r
r
r �_fix_pcbuild5 s r c C s t rtt �S tt�S )N)� _sys_homer �project_baser
r
r
r �
_python_build= s r � c C s dt jdd� 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_versionQ s r c C s� |dkr| rt pt}tjdkr�tr:tjd
k r:tjj|d�S t rh| rJt
pHtS tjjtd�d�}tjj
|�S trpdnd }|t� t }tjj|d|�S tjd
kr�t r�tjj|d�tjj tjj|d� S tjj|d�S tdtj ��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� � �include�srcdirZInclude�pypy�pythonr �PCzFI don't know where Python installs its C header files on platform '%s')r r )�BASE_EXEC_PREFIX�BASE_PREFIXr �name�IS_PYPYr r r r
�python_buildr r �get_config_var�normpathr �build_flags�pathsepr )�
plat_specific�prefixZincdir�implementationZ
python_dirr
r
r �get_python_incY s*
r2 c C s | r|S t jj|d�S d S )Nz
site-packages)r r r
)�standard_lib� libpython�early_prefixr0 r
r
r �
_posix_lib� s r6 c C s t rBtjdk rB|dkrt}|r4tjj|dtjd �S tjj|d�S |}|dkrl|r`| rZtp\t }n| rht
pjt}tjdkr�| s~|r�ttdd �}nd }t r�d
nd}tjj|||t
� �}t||||�S tjdkr�|r�tjj|d
�S tjj|d
d�S ntdtj ��dS )aS Return 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'.
r r Nz
lib-pythonr z
site-packagesr Z
platlibdir�libr# r$ r ZLibz?I don't know where Python installs its library on platform '%s')r r )r) r r r r r r
�versionr&