o
    �PÔaÛ  ã                   @   sF  U d dl Z d dlZd dlmZ d dlmZ d dlmZmZ e 	¡ d Z
e 	¡ d Zee j de
¡ƒ ¡ Zed Zed	 Zed
 Zed Zee j de¡ƒ ¡ ZdZee j de¡ƒ ¡ Zed ZdZedeƒZed ƒZedƒZed ƒZedƒZedƒZedƒZ edƒZ!edƒZ"dZ#ee e$d< de%fdd„Z&e&ƒ Z'e%e$d< edƒZ(dS )é    N)ÚPath)Údedent)ÚNewTypeÚOptionalz.local/pipxz
.local/binÚ	PIPX_HOMEÚvenvsÚlogsÚsharedz.trashÚPIPX_SHARED_LIBSzpipx_shared.pthÚPIPX_BIN_DIRz.cacheé   ÚExitCodeé   Úpipx_log_fileÚreturnc                   C   s
   t jdkS )NÚwin32)ÚsysÚplatform© r   r   ú0/usr/lib/python3/dist-packages/pipx/constants.pyÚ
is_windows$   s   
r   ÚWINDOWSa¬  
Add the appropriate command to your shell's config file
so that it is run on startup. You will likely have to restart
or re-login for the autocompletion to start working.

bash:
    eval "$(register-python-argcomplete pipx)"

zsh:
    To activate completions for zsh you need to have
    bashcompinit enabled in zsh:

    autoload -U bashcompinit
    bashcompinit

    Afterwards you can enable completion for pipx:

    eval "$(register-python-argcomplete pipx)"

tcsh:
    eval `register-python-argcomplete --shell tcsh pipx`

fish:
    # Not required to be in the config file, only run once
    register-python-argcomplete --shell fish pipx >~/.config/fish/completions/pipx.fish

))Úosr   Úpathlibr   Útextwrapr   Útypingr   r   ÚhomeÚDEFAULT_PIPX_HOMEÚDEFAULT_PIPX_BIN_DIRÚenvironÚgetÚresolver   ÚPIPX_LOCAL_VENVSÚPIPX_LOG_DIRÚDEFAULT_PIPX_SHARED_LIBSÚPIPX_TRASH_DIRr
   ÚPIPX_SHARED_PTHÚLOCAL_BIN_DIRÚPIPX_VENV_CACHEDIRÚ#TEMP_VENV_EXPIRATION_THRESHOLD_DAYSÚintr   ÚEXIT_CODE_OKÚEXIT_CODE_INJECT_ERRORÚEXIT_CODE_INSTALL_VENV_EXISTSÚEXIT_CODE_LIST_PROBLEMÚ$EXIT_CODE_UNINSTALL_VENV_NONEXISTENTÚEXIT_CODE_UNINSTALL_ERRORÚ$EXIT_CODE_REINSTALL_VENV_NONEXISTENTÚ"EXIT_CODE_REINSTALL_INVALID_PYTHONr   Ú__annotations__Úboolr   r   Úcompletion_instructionsr   r   r   r   Ú<module>   sH   
 ÿþ
ÿ