File: //lib64/python3.6/distutils/command/__pycache__/install_lib.cpython-36.opt-1.pyc
3
  \�   �               @   sL   d Z ddlZddlZddlZddlmZ ddlmZ dZ	G dd� de�Z
dS )zkdistutils.command.install_lib
Implements the Distutils 'install_lib' command
(install all Python modules).�    N)�Command)�DistutilsOptionErrorz.pyc            	   @   s�   e Zd ZdZd*d+d,d-d.d/d0gZdddgZddiZdd� Zdd� Zdd� Z	dd� Z
dd� Zd d!� Zd"d#� Z
d$d%� Zd&d'� Zd(d)� ZdS )1�install_libz7install all Python modules (extensions and pure Python)�install-dir=�d�directory to install to�
build-dir=�b�'build directory (where to install from)�force�f�-force installation (overwrite existing files)�compile�c�compile .py to .pyc [default]�
no-compileN�don't compile .py files�	optimize=�O�lalso compile with optimization: -O1 for "python -O", -O2 for "python -OO", and -O0 to disable [default: -O0]�
skip-build�skip the build stepsc             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.6/distutils/command/install_lib.py�initialize_options3   s    zinstall_lib.initialize_optionsc             C   s�   | j ddddddd� | jd kr&d
| _| jd kr6d| _t| jt�s�yt| j�| _| jdkr^t�W n  ttfk
r�   td��Y nX d S )N�install�	build_libr   r   r   r   r   r   r   TFr   �   �   zoptimize must be 0, 1, or 2)r!   r   )r   r   )r   r   )r   r   )r   r   )r   r   )r   r"