U
    ªÏ cÅ  ã                   @   s  d dl Z d dlZd dlZe dd¡Zeddƒeddƒedd	ƒed
dƒeddƒeddƒeddƒeddƒeddƒeddƒeddƒeddƒeddƒeddƒed d!ƒed"d#ƒed$d%ƒed&d'ƒed(d)ƒed*d+ƒed,d-ƒfZed  jZed  jZ	d.d/„ Z
e
ƒ \ZZd0jeed1Zd2jeed1Zd3Zd4ZdS )5é    NÚTagzversion datez1.4.1z
2022-08-15z1.4.0z
2022-08-04z1.3.3z
2022-04-14z1.3.2z
2021-11-21z1.3.1z
2021-08-02z1.3.0z
2021-03-06z1.2.3z
2020-07-14z1.2.2z
2020-04-27z1.2.1z
2020-03-30z1.2.0z
2020-01-03z1.2betaz
2019-08-08z1.2alphaz
2019-07-28z1.1.2z
2019-05-14z1.1.1z
2019-05-08z1.1.0z
2019-04-24z1.0.0z
2018-11-07z0.4.0z
2018-03-11z0.3.0z
2017-06-03z0.2.1z
2017-03-11z0.2.0z
2016-07-14z0.1.0z
2015-11-23c                  C   sÎ   t  ¡ } t  t j t j t¡¡¡ z„d}tj| ¡ tj	d}| 
d¡ ¡ dd… }d|kr~| d¡dd… \}}|d |¡7 }d	}tj| ¡ tj	d}| 
d¡ ¡ }W n   t}t}Y nX t  | ¡ ||fS )
z@Grab version and date of the latest commit from a git repositoryzgit describe --tags)Ústderrzutf-8é   Nú-é   z-{}z$git log -1 --date=short --format=%cd)ÚosÚgetcwdÚchdirÚpathÚdirnameÚ__file__Ú
subprocessÚcheck_outputÚsplitÚDEVNULLÚdecodeÚstripÚformatÚrelease_versionÚrelease_date)Zdir_origÚcmdÚversionZ
num_commitÚdate© r   úE/home/exouser/operations/rsmas_insar/sources/MintPy/mintpy/version.pyÚget_version_info&   s"    

r   zMintPy version {v}, date {d})ÚvÚda  
___________________________________________________________

  /##      /## /##             /##     /#######           
 | ###    /###|__/            | ##    | ##__  ##          
 | ####  /#### /## /#######  /######  | ##  \ ## /##   /##
 | ## ##/## ##| ##| ##__  ##|_  ##_/  | #######/| ##  | ##
 | ##  ###| ##| ##| ##  \ ##  | ##    | ##____/ | ##  | ##
 | ##\  # | ##| ##| ##  | ##  | ## /##| ##      | ##  | ##
 | ## \/  | ##| ##| ##  | ##  |  ####/| ##      |  #######
 |__/     |__/|__/|__/  |__/   \___/  |__/       \____  ##
                                                 /##  | ##
                                                |  ######/
   Miami InSAR Time-series software in Python    \______/ 
          MintPy {v}, {d}
___________________________________________________________
z"https://github.com/insarlab/MintPyz*Miami INsar Time-series software in PYthon)r   r   ÚcollectionsÚ
namedtupler   Zrelease_historyr   r   r   r   r   Zversion_dater   Zversion_descriptionÚlogoZwebsiteÚdescriptionr   r   r   r   Ú<module>   sN   ë

!
þ ð