File: //snap/core18/current/usr/lib/python3.6/__pycache__/_osx_support.cpython-36.pyc
3
�äh�J � @ s� d Z ddlZddlZddlZddddgZd0Zd1ZdZd2dd�Zdd� Z dd� Z
dadd� Zdd� Z
dd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d� Zd-d� Zd.d� Zd/d� ZdS )3zShared OS X support functions.� N�compiler_fixup�customize_config_vars�customize_compiler�get_platform_osx�CFLAGS�LDFLAGS�CPPFLAGS�
BASECFLAGS� BLDSHARED�LDSHARED�CC�CXX� PY_CFLAGS�
PY_LDFLAGS�PY_CPPFLAGS�PY_CORE_CFLAGSZ_OSX_SUPPORT_INITIAL_c C s� |dkrt jd }|jt j�}t jj| �\}}tjdkrH|dkrH| d } t jj| �s�x*|D ]"}t jj || �}t jj|�rZ|S qZW dS | S dS )z�Tries to find 'executable' in the directories listed in 'path'.
A string listing directories separated by 'os.pathsep'; defaults to
os.environ['PATH']. Returns the complete filename or None if not found.
N�PATHZwin32z.exe)
�os�environ�split�pathsep�path�splitext�sys�platform�isfile�join)�
executabler �paths�baseZext�p�f� r"