o
    SiP                     @   s|   d dl Z ddlmZ ddlmZ ddlmZ ejeddd	e j	d
e 
 e dde j	dedddedefddZdS )    N   )default_tools_cachedir)SPH2PIPE_URL   )cliT)show_default)context_settingsz--install-dirz:Directory where sph2pipe will be downloaded and installed.)typedefaulthelpz--urlz$URL from which to download sph2pipe.)r
   r   install_dirurlc                 C   s   ddl m} || |d dS )z
    Install the sph2pipe program to handle sphere (.sph) audio files with
    "shorten" codec compression (needed for older LDC data).

    It downloads an archive and then decompresses and compiles the contents.
    r   )install_sph2pipe)wheredownload_fromN)lhotse.tools.sph2piper   )r   r   r    r   R/home/ubuntu/.local/lib/python3.10/site-packages/lhotse/bin/modes/install_tools.pyr      s   r   )click	tools.envr   tools.sph2piper   cli_baser   commanddictoptionPathstrr   r   r   r   r   <module>   s    