????
Current Path : /lib/python3.10/distutils/__pycache__/ |
Current File : //lib/python3.10/distutils/__pycache__/cygwinccompiler.cpython-310.pyc |
o ��bc�? � @ s� d Z ddlZddlZddlZddlmZmZmZ ddlZddl m Z ddlmZ ddl mZmZmZmZ ddlmZ ddlmZ d d � ZG dd� de �ZG d d� de�ZdZdZdZdd� Ze�d�Zdd� Zdd� Z dd� Z!dS )a distutils.cygwinccompiler Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode). � N)�Popen�PIPE�check_output)� UnixCCompiler)� write_file)�DistutilsExecError�CCompilerError�CompileError�UnknownFileError)�LooseVersion)�find_executablec C s� t j�d�} | dkr>t j| d | d � }|dkrdgS |dkr#dgS |d kr*d gS |dkr1dgS |d kr8dgS td| ��dS )zaInclude the appropriate MSVC runtime library if Python was built with MSVC 7.0 or later. zMSC v.���� � �1300�msvcr70�1310�msvcr71�1400�msvcr80�1500�msvcr90�1600�msvcr100zUnknown MS Compiler version %s N)�sys�version�find� ValueError)�msc_pos�msc_ver� r �0/usr/lib/python3.10/distutils/cygwinccompiler.py� get_msvcr= s �r"