§
    µ³Ùg¥  ã                   ó�   — d Z ddlZ	 ddlZn# e$ r dZY nw xY we�edk    rddlZnddlmZ d	d„Zd„ Ze	dk    r e¦   «          dS dS )
z«
Platform independent script to download all the
`scipy.datasets` module data files.
This doesn't require a full scipy build.

Run: python _download_all.py <download_dir>
é    NÚ é   )Ú	_registryc                 óö   — t           €t          d¦  «        ‚| €t          j        d¦  «        } t          j                             ¦   «         D ]-\  }}t          j        t          j        |         ||| ¬¦  «         Œ.dS )a  
    Utility method to download all the dataset files
    for `scipy.datasets` module.

    Parameters
    ----------
    path : str, optional
        Directory path to download all the dataset files.
        If None, default to the system cache_dir detected by pooch.
    NzsMissing optional dependency 'pooch' required for scipy.datasets module. Please use pip or conda to install 'pooch'.ú
scipy-data)ÚurlÚ
known_hashÚfnameÚpath)ÚpoochÚImportErrorÚos_cacher   ÚregistryÚitemsÚretrieveÚregistry_urls)r   Údataset_nameÚdataset_hashs      úR/granary/edev/quantum/lib/python3.11/site-packages/scipy/datasets/_download_all.pyÚdownload_allr      s“   € õ €}Ýð 6ñ 7ô 7ð 	7ð €|ÝŒ~˜lÑ+Ô+ˆÝ&/Ô&8×&>Ò&>Ñ&@Ô&@ð 6ð 6Ñ"ˆ�lÝŒ�9Ô2°<Ô@Ø".Ø)°ð	6ñ 	6ô 	6ð 	6ð 	6ð6ð 6ó    c                  óâ   — t          j        d¬¦  «        } |                      ddt          t	          j        d¦  «        d¬¦  «         |                      ¦   «         }t          |j        ¦  «         d S )NzDownload SciPy data files.)Údescriptionr   ú?r   z.Directory path to download all the data files.)ÚnargsÚtypeÚdefaultÚhelp)	ÚargparseÚArgumentParserÚadd_argumentÚstrr   r   Ú
parse_argsr   r   )ÚparserÚargss     r   Úmainr&   /   su   € ÝÔ$Ð1MÐNÑNÔN€FØ
×Ò˜ cµÝ %¤¨|Ñ <Ô <ØMð ñ Oô Oð Oð ×ÒÑÔ€DÝ�”ÑÔÐÐÐr   Ú__main__)N)
Ú__doc__r   r   r   Ú__package__r   r   r   r&   Ú__name__© r   r   ú<module>r,      sÊ   ððð ð €€€ðØ€L€L€L€LøØð ð ð Ø€E€E€Eðøøøð Ð˜+¨Ò+Ð+àÐÐÐÐð ÐÐÐÐÐð6ð 6ð 6ð 6ð.ð ð ð ˆzÒÐØ€D�F„F€F€F€Fð Ðs   ˆ �–