U âQab|% ã @ sØ d dl m Z d dlmZ d dlm mZ d dlZd dlZd dl Z d dl Z d dlZd dl Z d dlmZ d dlmZmZmZ zd dlmZ W n" ek r¬ G dd„ dƒZY nX G d d „ d ejeƒZddd„Zd d„ ZdS )é )Úglob)Úconvert_pathN)Úsix)ÚmapÚfilterÚfilterfalse)Ú Mixin2to3c @ s e Zd Zddd„ZdS )r Tc C s dS )z do nothingN© )ÚselfÚfilesZdoctestsr r ú?/usr/lib/python3.8/site-packages/setuptools/command/build_py.pyÚrun_2to3 s zMixin2to3.run_2to3N)T)Ú__name__Ú __module__Ú__qualname__r r r r r r s r c @ sŒ e Zd ZdZdd„ Zdd„ Zdd„ Zdd „ Zd d„ Zdd „ Z dd„ Z dd„ Zdd„ Zdd„ Z dd„ Zdd„ Zdd„ Zdd„ Zedd„ ƒZd 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 sF t j | ¡ | jj| _| jjp i | _d| jkr6| jd= 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 sx | j s| jsdS | j r| ¡ | jr4| ¡ | ¡ | | jd¡ | | jd¡ | | jd¡ | t j j| dd�¡ dS )z?Build modules, packages, and copy data files to build directoryNFTr )Zinclude_bytecode)Z py_modulesÚpackagesZ build_modulesZbuild_packagesÚbuild_package_datar r r Zbyte_compiler r Zget_outputsr r r r Úrun+ s zbuild_py.runc C s&