관리-도구
편집 파일: build_py.cpython-36.opt-1.pyc
3 \C � @ s~ d Z ddlZddlZddlZddlmZ ddlmZ ddlT ddl m Z mZ ddlm Z G dd � d e�ZG d d� dee�ZdS )zHdistutils.command.build_py Implements the Distutils 'build_py' command.� N)�glob)�Command)�*)�convert_path� Mixin2to3)�logc @ s� e Zd ZdZd8d9d:d;d<gZddgZddiZdd� Zdd� Zdd� Z dd� Z dd� Zdd� Zdd� Z dd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd=d.d/�Zd0d1� Zd2d3� Zd4d5� Zd6d7� Zd S )>�build_pyz5"build" pure Python modules (copy to build directory)� build-lib=�d�directory to "build" (copy) to�compile�c�compile .py to .pyc� no-compileN�!don't compile .py files [default]� optimize=�O�lalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0]�force�f�2forcibly build everything (ignore file timestamps)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.6/distutils/command/build_py.py�initialize_options s zbuild_py.initialize_optionsc C s� | j ddd� | jj| _| jj| _| jj| _i | _| jjrbx&| jjj� D ]\}}t|�| j|<