U
    d                     @   s   d dl Z d dlZd dlZd dlmZ ddlmZ zd dlZW n e	k
rT   dZY nX ee
ee
e
f f dddZdddd	Zed
kre  dS )    N)Dict   )__version__)returnc                  C   s   zt  t  d} W n tk
r4   ddd} Y nX t  }|dkrPt  }nL|dkrttd}|j d|j	 d|j
 }|jdkrd||jg}nd}| ||d	d
ttddid
tidS )zg
    Generate information for a bug report.
    Based on the requests package help utility module.
    )systemreleaseUnknownCPythonPyPypypy_version_info.final )nameversionr   r   )platformimplementationcryptographyZpyjwt)r   r   r   OSErrorpython_implementationpython_versiongetattrsysmajorminormicroreleaseleveljoinr   pyjwt_version)Zplatform_infor   implementation_versionr    r    ,/tmp/pip-unpacked-wheel-cf9_iply/jwt/help.pyinfo   s2    



r"   c                   C   s   t tjt ddd dS )z)Pretty-print the bug information as JSON.T   )	sort_keysindentN)printjsondumpsr"   r    r    r    r!   main8   s    r)   __main__)r'   r   r   typingr   r   r   r   r   ModuleNotFoundErrorstrr"   r)   __name__r    r    r    r!   <module>   s   
*