Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/setuptools/_distutils/command/__pycache__/build_clib.cpython-37.pyc
Назад
B �5�g � @ sX d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z dd � Z G d d� de�ZdS )z�distutils.command.build_clib Implements the Distutils 'build_clib' command, to build a C/C++ library that is included in the module distribution and needed by an extension module.� N� )�Command)�DistutilsSetupError)�customize_compiler)�logc C s ddl m} | � d S )Nr )�show_compilers)� ccompilerr )r � r �P/tmp/pip-install-251nq386/setuptools/setuptools/_distutils/command/build_clib.pyr s r c @ sl e Zd ZdZdddddgZddgZd d defgZdd � Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zd S )� build_clibz/build C/C++ libraries used by Python extensions)zbuild-clib=�bz%directory to build C/C++ libraries to)zbuild-temp=�tz,directory to put temporary build by-products)�debug�gz"compile with debugging information)�force�fz2forcibly build everything (ignore file timestamps))z compiler=�czspecify the compiler typer r z help-compilerNzlist available compilersc C s: d | _ d | _d | _d | _d | _d | _d | _d| _d | _d S )Nr ) r � build_temp� libraries�include_dirs�define�undefr r �compiler)�selfr r r �initialize_options/ s zbuild_clib.initialize_optionsc C sh | � dddddd� | jj| _| jr0| �| j� | jd krH| jjpDg | _t| jt�rd| j�tj �| _d S )N�build)r r )r r )r r )r r )r r ) �set_undefined_options�distributionr �check_library_listr � isinstance�str�split�os�pathsep)r r r r �finalize_options>