관리-도구
편집 파일: build_py.cpython-35.pyc
�Re|% � @ s d d l m Z d d l m Z d d l j j Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z m Z y d d l m Z Wn% e k r� Gd d � d � Z Yn XGd d � d e j e � Z d d d � Z d d � Z d S)� )�glob)�convert_pathN)�six)�map�filter�filterfalse)� Mixin2to3c @ s e Z d Z d d d � Z d S)r Tc C s d S)z do nothingN� )�self�filesZdoctestsr r ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/command/build_py.py�run_2to3 s zMixin2to3.run_2to3N)�__name__� __module__�__qualname__r r r r r r s r c @ s� e Z d Z d Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z e d d � � Z d S)!�build_pyaX Enhanced 'build_py' command that includes data files with packages The data files are specified via a 'package_data' argument to 'setup()'. See 'setuptools.dist.Distribution' for more details. Also, this version of the 'build_py' command allows you to specify both 'py_modules' and 'packages' in the same setup operation. c C sc t j j | � | j j | _ | j j p. i | _ d | j k rM | j d =g | _ g | _ d S)N� data_files) �origr �finalize_options�distribution�package_data�exclude_package_data�__dict__�_build_py__updated_files�_build_py__doctests_2to3)r r r r r ! s zbuild_py.finalize_optionsc C s� | j r | j r d S| j r+ | j � | j rH | j � | j � | j | j d � | j | j d � | j | j d � | j t j j | d d �� d S)z?Build modules, packages, and copy data files to build directoryNFTZinclude_bytecoder )� py_modules�packagesZ build_modulesZbuild_packages�build_package_datar r r �byte_compiler r �get_outputs)r r r r �run+ s zbuild_py.runc C s5 | d k r"