Your IP : 18.118.19.89
U
e5d&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 ZdZdddddgZddgZd diZd
d� Zdd
� Zdd� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd2d'd(�Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1S )3�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.8/distutils/command/build_py.py�initialize_options s zbuild_py.initialize_optionsc C s� | � ddd� | jj| _| jj| _| jj| _i | _| jjr^| jj�� D ]\}}t|�| j|<