AlkantarClanX12
Current Path : /proc/self/root/usr/lib64/python3.8/distutils/command/__pycache__/ |
Current File : //proc/self/root/usr/lib64/python3.8/distutils/command/__pycache__/install_lib.cpython-38.opt-2.pyc |
U e5d� � @ sH d dl Z d dlZd dlZd dlmZ d dlmZ dZG dd� de�Z dS )� N)�Command)�DistutilsOptionErrorz.pyc @ s� e Zd ZdZdddddddgZd d dgZdd iZd d� Zdd� Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd � Zd!S )"�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 stepsr r r r c C s( d | _ d | _d| _d | _d | _d | _d S )Nr )�install_dir� build_dirr r �optimize� skip_build��self� r �5/usr/lib64/python3.8/distutils/command/install_lib.py�initialize_options3 s zinstall_lib.initialize_optionsc C s� | � ddddddd� | jd kr&d| _| jd kr6d | _t| jt�s�zt| j�| _| jd kr^t�W n ttfk r� td��Y nX d S )N�install)� build_libr )r r )r r )r r )r r )r r TF)r � � zoptimize must be 0, 1, or 2)Zset_undefined_optionsr r � isinstance�int�AssertionError� ValueErrorr r r r r �finalize_options<