�
�5sg� � �^ � d dl Z d dlZd dlmZmZ d dlmc mZ G d� dej � � ZdS )� N)�product�starmapc �r � e Zd ZdZd� Zd� Zd� Zd� Zd� Ze d� � � Z
d� Ze d � � � Z dd�Z
d
� ZdS )�install_libz9Don't add compiled flags to filenames of non-Python filesc �` � t j � | � � d | _ d | _ d S �N)�origr �initialize_options� multiarch�install_layout)�selfs �@/usr/lib/python3/dist-packages/setuptools/command/install_lib.pyr
zinstall_lib.initialize_options
s. � ���+�+�D�1�1�1����"����� c � � t j � | � � | � dd� � | j dk r8t
j d d� dk r"dd l}|� d� � | _ d S d S d S )N�install)r r �deb� )� r r � MULTIARCH)
r r �finalize_options�set_undefined_optionsr �sys�version_info� sysconfig�get_config_varr )r
r s r r zinstall_lib.finalize_options s� � ���)�)�$�/�/�/��"�"�9�-P�Q�Q�Q���%�'�'�C�,<�R�a�R�,@�F�,J�,J�����&�5�5�k�B�B�D�N�N�N� (�'�,J�,Jr c � � | � � � | � � � }|�| � |� � d S d S r )�buildr �byte_compile)r
�outfiless r �runzinstall_lib.run sD � ��
�
�����<�<�>�>�������h�'�'�'�'�'� �r c �� � � � fd�� � � � D � � }t |� � � � � � }t t � j |� � � � S )z�
Return a collections.Sized collections.Container of paths to be
excluded for single_version_externally_managed installations.
c 3 �L �K � | ]}�� |� � D ]}|V � ��d S r )�
_all_packages)�.0�ns_pkg�pkgr
s �r � <genexpr>z-install_lib.get_exclusions.<locals>.<genexpr>" |