관리-도구
편집 파일: install_lib.cpython-311.opt-1.pyc
� c��f� � �Z � d Z ddlZddlZddlZddlmZ ddlmZ dZ G d� de� � Z dS )zkdistutils.command.install_lib Implements the Distutils 'install_lib' command (install all Python modules).� N)�Command)�DistutilsOptionErrorz.pyc �f � e Zd ZdZg d�Zg d�ZddiZd� Zd� Zd� Z d � Z d � Zd� Zd� Z d � Zd� Zd� ZdS )�install_libz7install all Python modules (extensions and pure Python)))zinstall-dir=�dzdirectory to install to)z build-dir=�bz'build directory (where to install from))�force�fz-force installation (overwrite existing files))�compile�czcompile .py to .pyc [default])� no-compileNzdon't compile .py files)z optimize=�Ozlalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0])� skip-buildNzskip the build steps)r r r r r c �Z � d | _ d | _ d| _ d | _ d | _ d | _ d S )Nr )�install_dir� build_dirr r �optimize� skip_build��selfs �D/opt/alt/python311/lib64/python3.11/distutils/command/install_lib.py�initialize_optionszinstall_lib.initialize_options3 s1 � ��������� ������ ������ c �H � | � ddddddd� � | j �d| _ | j �d | _ t | j t � � sP t | j � � | _ | j d vrt �d S # t t f$ r t d� � �w xY wd S )N�install)� build_libr )r r )r r )r r )r r )r r TF)r � � zoptimize must be 0, 1, or 2)�set_undefined_optionsr r � isinstance�int�AssertionError� ValueErrorr r s r �finalize_optionszinstall_lib.finalize_options<