o
    <c
                     @   s   d dl Z d dlZd dlZeddZeddeddfZed  jZed  jZ	d
ee	fd	d
Ze \ZZdj
eedZdj
ee	dZdZdZdS )    NTagzversion datez0.2.0z
2021-09-14z0.1.0z
2021-04-23zv{}c                 C   s   t  }t t jt jt z>d}tj| tj	d} | 
d } d| v r;| ddd \} }| d|7 } d}tj| tj	d}|
d }W n   Y 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)versiondatedir_origcmd
num_commit r   E/home/exouser/operations/rsmas_insar/tools/MiaplPy/miaplpy/version.pyget_version_info   s    
r   zMiaplPy version {v}, date {d})vdaq  
_________________________________________________      

  /##      /## /##                     / ## /#######
 | ###    /###|__/|                    | ##| ##__  ##
 | ####  /#### /##|/ ##### /##         | ##| ##  \ ## /##   /##
 | ## ##/## ##| ##| ##__  ### /####### | ##| #######/| ##  | ##
 | ##  ###| ##| ##| ##__  ###| ##__  ##| ##| ##      | ##  | ##
 | ##\  # | ##| ##| ##   \###| ##   \##| ##| ##      | ##  | ##
 | ## \/  | ##| ##|  ##### ##| #######/| ##| ##      |  #######
 |__/     |__/|__/| \____/|_/| ##____/ |__/|__/       \____  ##
                             | ##                     /##  | ## 
                             | ##                    |  ######/         
                             |__/                     \______/
 Miami Non-Linear Phase Linking software in Python   
          MiaplPy {v}, {d}
_________________________________________________
z#https://github.com/insarlab/MiaplPyz1Miami Non-Linear Phase Linking software in Python)r   r   collections
namedtupler   release_historyr   release_versionr   release_dater   r   Zversion_numversion_dateversion_descriptionlogowebsitedescriptionr   r   r   r   <module>   s(   


