File: //lib64/python3.9/distutils/command/__pycache__/build_py.cpython-39.pyc
a
    �DOg&C  �                   @   sz   d Z ddlZddlZddlZddlZddlmZ ddlT ddl	m
Z
mZ ddlm
Z
 G dd� de�ZG d	d
� d
ee�ZdS )zHdistutils.command.build_py
Implements the Distutils 'build_py' command.�    N)�Command)�*)�convert_path�	Mixin2to3)�logc                   @   s�   e Zd ZdZg d�ZddgZddiZdd� Zdd	� Zd
d� Z	dd
� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd.d#d$�Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-S )/�build_pyz5"build" pure Python modules (copy to build directory)))z
build-lib=�dzdirectory to "build" (copy) to)�compile�czcompile .py to .pyc)�
no-compileNz!don't compile .py files [default])z	optimize=�Ozlalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0])�force�fz2forcibly build everything (ignore file timestamps)r	   r
   r   c                 C   s4   d | _ d | _d | _d | _d | _d| _d| _d | _d S )Nr   )�	build_lib�
py_modules�package�package_data�package_dirr	   �optimizer
   ��self� r   �2/usr/lib64/python3.9/distutils/command/build_py.py�initialize_options    s    zbuild_py.initialize_optionsc              	   C   s�   | � ddd� | jj| _| jj| _| jj| _i | _| jjr^| jj�� D ]\}}t|�| j|<