관리-도구
편집 파일: install_lib.cpython-312.pyc
� t��e� � �R � d Z ddlZddlZddlZddlmZ ddlmZ dZ G d� de� Z y) zkdistutils.command.install_lib Implements the Distutils 'install_lib' command (install all Python modules).� N� )�Command)�DistutilsOptionErrorz.pyc �d � e Zd ZdZg d�Zg d�ZddiZd� Zd� Zd� Z d � Z d � Zd� Zd� Z d � Zd� Zd� Zy)�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 �X � d | _ d | _ d| _ d | _ d | _ d | _ y )Nr )�install_dir� build_dirr r �optimize� skip_build��selfs ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/setuptools/_distutils/command/install_lib.py�initialize_optionszinstall_lib.initialize_options6 s- � ��������� ������ ���� c �N � | j ddddddd� | j �d| _ | j �d | _ t | j t � s0 t | j � | _ | j d vrt �y y # t t f$ r t d� �w xY w)N�install)� build_libr )r r )r r )r r )r r )r r TF)r � r zoptimize must be 0, 1, or 2)�set_undefined_optionsr r � isinstance�int�AssertionError� ValueErrorr r s r �finalize_optionszinstall_lib.finalize_options? s� � � �"�"��&�*��"�$�(� � �<�<���D�L��=�=� �!�D�M��$�-�-��-� J� #�D�M�M� 2�� ��=�=� �1�(�(� 2� .�� ��/� J�*�+H�I�I� J�s �.B � B$c � � | j � | j � }|�-| j j � r| j |� y y y �N)�buildr �distribution�has_pure_modules�byte_compile�r �outfiless r �runzinstall_lib.runZ sH � �� � �� �<�<�>�� ��D�$5�$5�$F�$F�$H����h�'� %I�r c �� � | j sX| j j � r| j d� | j j � r| j d� y y y )N�build_py� build_ext)r r( r) �run_command�has_ext_modulesr s r r'