Ë
    xìqj‚  ã                   ód   — d Z ddlZddlmZ ddlZddlmZ ddlmZm	Z	 d	dee
z  ez  dz  ddfd„Zy)
z0
Module for managing the PROJ network settings.
é    N)ÚPath)Ú_set_context_ca_bundle_path)Úis_network_enabledÚset_network_enabledÚca_bundle_pathÚreturnc                 óÊ   — d}| du rd} nOt        | t        t        f«      rt        | «      } n-| du st        d„ |D «       «      st	        j
                  «       } nd} t        | «       y)a!  
    .. versionadded:: 3.0.0

    Sets the path to the CA Bundle used by the `curl`
    built into PROJ when PROJ network is enabled.

    See: :c:func:`proj_context_set_ca_bundle_path`

    Environment variables:

    - PROJ_CURL_CA_BUNDLE
    - CURL_CA_BUNDLE
    - SSL_CERT_FILE

    Parameters
    ----------
    ca_bundle_path: Path | str | bool | None, optional
        Default is None, which only uses the `certifi` package path as a fallback if
        the environment variables are not set. If a path is passed in, then
        that will be the path used. If it is set to True, then it will default
        to using the path provided, by the `certifi` package. If it is set to False
        or an empty string then it will default to the system settings or environment
        variables.
    )ÚPROJ_CURL_CA_BUNDLEÚCURL_CA_BUNDLEÚSSL_CERT_FILEFÚ Tc              3   ó@   K  — | ]  }|t         j                  v –— Œ y ­w©N)ÚosÚenviron)Ú.0Úenv_var_names     úJ/var/www/html/truck-me/venv/lib/python3.12/site-packages/pyproj/network.pyú	<genexpr>z%set_ca_bundle_path.<locals>.<genexpr>2   s   è ø€ ò -Ø'3ˆœŸ
™
Ô"ñ-ùs   ‚N)Ú
isinstanceÚstrr   ÚanyÚcertifiÚwherer   )r   Úenv_var_namess     r   Úset_ca_bundle_pathr      si   € ð2 O€MØ˜Ñð ‰Ü	�N¤S¬$ KÔ	0Ü˜^Ó,‰Ø
˜DÑ
 ¬ñ -Ø7Dô-ô *ô !Ÿ™›‰ð ˆä Õ/ó    r   )Ú__doc__r   Úpathlibr   r   Úpyproj._contextr   Úpyproj._networkr   r   r   Úboolr   © r   r   ú<module>r$      s>   ðñó 
Ý ã å 7÷ñ*0 t¨c¡z°DÑ'8¸4Ñ'?ð *0È4ô *0r   