U
    |e                     @  s6   d dl mZ d dlmZ ddlmZ dd ZdgZdS )    )annotations)suppress   )convertc              
   C  s^   d|    }||rZ|| }tt, d| }t|||}||fW  5 Q R  S Q R X dS )z
    Get the environment variable option.

    :param key: the config key requested
    :param as_type: the type we would like to convert it to
    :param env: environment variables to use
    :return:
    ZVIRTUALENV_zenv var N)uppergetr   	Exceptionr   )keyZas_typeenvZenviron_keyvaluesource r   =/tmp/pip-unpacked-wheel-tuxcr54r/virtualenv/config/env_var.pyget_env_var   s    	


r   N)
__future__r   
contextlibr   r   r   __all__r   r   r   r   <module>   s
   