
    We                        d dl Z d dlZd dlZ e j                  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-       ed.d/       ed0d1       ed2d3       ed4d5      fZed    j                  Zed    j                  Z	d6 Z
 e
       \  ZZd7j                  ee8      Zd9j                  ee8      Zd:Zd;Zy)<    NTagzversion datez1.5.3z
2023-11-23z1.5.2z
2023-08-09z1.5.1z
2023-01-03z1.5.0z
2022-11-18z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                     t        j                         } t        j                  t         j                  j	                  t         j                  j	                  t
                           	 d}t        j                  |j                         t        j                        }|j                  d      j                         dd }d|v r|j                  d      dd \  }}|d| z  }d	}t        j                  |j                         t        j                        }|j                  d      j                         }t        j                  |        ||fS #  t        }t        }Y )xY w)
z@Grab version and date of the latest commit from a git repositoryzgit describe --tags)stderrzutf-8   N-   z.postz$git log -1 --date=short --format=%cd)osgetcwdchdirpathdirname__file__
subprocesscheck_outputsplitDEVNULLdecodestriprelease_versionrelease_date)dir_origcmdversion
num_commitdates        G/home/exouser/operations/rsmas_insar/tools/MintPy/src/mintpy/version.pyget_version_infor   (   s    yy{HHHRWW__RWW__X678#))#))+j>P>PQ..)//1!"5 '>")--"4Ra"8GZzl++G4&&syy{:;M;MN{{7#))+ HHXD=!s   )CE E 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)collectionsr	   r   
namedtupler   release_historyr   r   r   r   r   version_dateformatversion_descriptionlogowebsitedescription     r   <module>r+      s    	  kUN3	< 
L!36 "!$,,q!&&B )* 8?? @    FWF%! $ /:r*   