o
9jU @ s d Z ddlZddlZddlZg dZdZdZdZd.ddZd/d
dZ dd
Z
dadd Zda
dd Zdd Zdd Zdadd Zdd Zdd Zdd Zdd Zd d! Zd"d# Zd$d% Zd&d' Zd(d) Zd*d+ Zd,d- ZdS )0zShared OS X support functions. N)compiler_fixupcustomize_config_varscustomize_compilerget_platform_osx)
CFLAGSLDFLAGSCPPFLAGS
BASECFLAGS BLDSHAREDLDSHAREDCCCXX PY_CFLAGS
PY_LDFLAGSPY_CPPFLAGSPY_CORE_CFLAGSPY_CORE_LDFLAGS)r
r r r
_OSX_SUPPORT_INITIAL_c C s |du r t jd }|t j}t j| \}}tjdkr$|dkr$| d } t j| sB|D ]}t j || }t j|r?| S q,dS | S )zTries 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.
NPATHwin32z.exe)
osenvironsplitpathseppathsplitextsysplatformisfilejoin)
executabler pathsbaseextpf r&