
    `jb                     F    S r SSKrSSKrSSKrSSKrS rS rS rS rS r	g)z
Utility methods to print system info for debugging

adapted from :func:`sklearn.utils._show_versions`
which was adapted from :func:`pandas.show_versions`
    Nc                      S[         R                  R                  SS5      4S[         R                  4S[        R                  " 5       4/n [        U 5      $ )zRSystem information

Return
------
dict:
    system and Python version information
python
 
executablemachine)sysversionreplacer   platformdict)blobs    Z/var/www/html/Sattelite-Image/venv/lib/python3.13/site-packages/rasterio/_show_versions.py_get_sys_infor      sM     
3;;&&tS12	s~~&	H%%'(D :    c            	      2   SSK n SU R                  4SU R                  4SU R                  4SU R                  4S[
        R                  R                  U R                  R                  5       5      4SU R                  R                  5       4/n[        U5      $ )	zNInformation on system GDAL

Returns
-------
dict:
    system GDAL information
r   NrasterioGDALPROJGEOSz	PROJ DATAz	GDAL DATA)r   __version____gdal_version____proj_version____geos_version__ospathsepjoin_envget_proj_data_search_pathsget_gdal_datar   )r   r   s     r   _get_gdal_infor!      s      
X))*	**+	**+	**+	bjjoohmm&N&N&PQR	hmm1134D :r   c                      Sn 0 nU  H%  n [         R                  R                  U5      X'   M'     U$ ! [         R                  R                   a    SX'    MP  f = f)zOverview of the installed version of main dependencies

Returns
-------
dict:
    version information on relevant Python libraries
)affineattrscertificlickcligjcythonnumpy
setuptoolsN)	importlibmetadatar
   PackageNotFoundError)deps	deps_infomodnames      r   _get_deps_infor1   4   se    	D I	&!*!3!3!;!;G!DI 
  !!66 	&!%I	&s   !2"AAc                 X    U R                  5        H  u  p[        US SU 35        M     g)z Print the information dictionaryz>10z: N)itemsprint)	info_dictkeystats      r   _print_info_dictr8   P   s*    __&	S	D6"# 'r   c                      [        S5        [        [        5       5        [        S5        [        [        5       5        [        S5        [        [	        5       5        g)zn
Print useful debugging information

Example
-------
> python -c "import rasterio; rasterio.show_versions()"

zrasterio info:z
System:z
Python deps:N)r4   r8   r!   r   r1    r   r   show_versionsr;   V   s>     

^%&	+]_%	
^%&r   )
__doc__r+   r   r   r	   r   r!   r1   r8   r;   r:   r   r   <module>r=      s1     	  
",8$'r   