B aH´‡µŽLã @ s” d dl m Z d dlmZ d dlm mZ d dlZd dlZd dl Z d dl Z d dlZd dl Z d dlZd dlmZ dd„ ZG dd„ dejƒZd d „ ZdS )é )Úglob)Úconvert_pathN)Úunique_everseenc C s t | t | ¡jtjB ¡ d S )N)ÚosÚchmodÚstatÚst_modeÚS_IWRITE)Útarget© r ú‘/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el9.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/command/build_py.pyÚ make_writable 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 s@ t j | ¡ | jj| _| jjp i | _d| jkr6| jd= g | _d S )NÚ data_files)Úorigr Úfinalize_optionsÚdistributionÚpackage_dataÚexclude_package_dataÚ__dict__Ú_build_py__updated_files)Úselfr r r r s zbuild_py.finalize_optionsc C sN | j s| jsdS | j r| ¡ | jr4| ¡ | ¡ | tjj| dd¡ dS )z?Build modules, packages, and copy data files to build directoryNr )Zinclude_bytecode) Ú py_modulesÚpackagesZ build_modulesZbuild_packagesÚbuild_package_dataÚbyte_compiler r Úget_outputs)r r r r Úrun$ s zbuild_py.runc C s&