관리-도구
편집 파일: build_py.cpython-37.opt-1.pyc
B � fC � @ 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 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)z 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 z no-compilec 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 �?/opt/alt/python37/lib64/python3.7/distutils/command/build_py.py�initialize_options s zbuild_py.initialize_optionsc C s� | � ddd� | jj| _| jj| _| jj| _i | _| jjrbx&| jj�� D ]\}}t|�| j|<