File: //lib/python3.10/distutils/__pycache__/sysconfig.cpython-310.pyc
o
    ��bcu6  �                   @   sV  d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl	m
Z
 ddlmZ
mZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( e&� Z)ej*dkrbddlm+Z+ ej,d	e-d
d� ddd
�Zee#dd�Z.eee)�Zeee)�Z/ddd�Z0dZ1zes�ej2Z1W n	 e3y�   Y nw dd� Z4dd� Z5ddd�Z6ddd�Z7dS )a�  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)�partial�   )�DistutilsPlatformError)�_PREFIX�_BASE_PREFIX�_EXEC_PREFIX�_BASE_EXEC_PREFIX�
_PROJECT_BASE�
_PYTHON_BUILD�_init_posix�parse_config_h�_init_non_posix�_is_python_source_dir�	_sys_home�_variable_rx�_findvar1_rx�_findvar2_rx�expand_makefile_vars�is_python_build�get_config_h_filename�get_config_var�get_config_vars�get_makefile_filename�get_python_version�nt)�_fix_pcbuildzCThe distutils.sysconfig module is deprecated, use sysconfig instead�   )�
stacklevelc                 C   s   t | |d�S )N)�vars)�sysconfig_parse_config_h)�fp�g� r"