File: //usr/lib64/python3.6/__pycache__/_osx_support.cpython-36.opt-2.pyc
3
\J
@ s d dl Z d dlZd dlZddddgZd0Zd1ZdZd2ddZdd Zdd Z da
dd Zdd Zdd Z
d d! Zd"d# Zd$d% Zd&d' Zd(d) Zd*d+ Zd,d Zd-d Zd.d Zd/d ZdS )3 Ncompiler_fixupcustomize_config_varscustomize_compilerget_platform_osxCFLAGSLDFLAGSCPPFLAGS
BASECFLAGS BLDSHAREDLDSHAREDCCCXX PY_CFLAGS
PY_LDFLAGSPY_CPPFLAGSPY_CORE_CFLAGSPY_CORE_LDFLAGSZ_OSX_SUPPORT_INITIAL_c C s |d krt jd }|jt j}t jj| \}}tjdkrH|dkrH| d } t jj| sx*|D ]"}t jj || }t jj|rZ|S qZW d S | S d S )NPATHZwin32z.exe)
osenvironsplitpathseppathsplitextsysplatformisfilejoin)
executabler pathsbaseZextpf r# $/usr/lib64/python3.6/_osx_support.py_find_executable s
r% c C s dd l }ydd l}|j }W n( tk
rD tdtj f d}Y nX |j|0}d| |jf }tj |s||j
jdj S d S Q R X d S )Nr z/tmp/_osx_support.%szw+bz%s 2>/dev/null >'%s'zutf-8)
contextlibtempfileZNamedTemporaryFileImportErroropenr getpidclosingnamesystemreaddecodestrip)Z
commandstringr&