U
    ù¹cI  ã                   @   sž   d dl mZ d dlZd dlZd dlZddlmZ zd dlZW n e	k
rT   dZY nX zd dl
Z
W n e	k
rz   dZ
Y nX dd„ Zdd„ Zed	kršeƒ  dS )
é    )Úprint_functionNé   )Ú__version__c                  C   sº   zt  ¡ t  ¡ dœ} W n tk
r4   dddœ} Y nX t  ¡ }|dkrPt  ¡ }nF|dkr’dtjjtjj	tjj
f }tjjdkr–d |tj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ÚPyPyz%s.%s.%sÚfinalÚ )ÚnameÚversionr   r   )ÚplatformÚimplementationÚcryptographyZpyjwt)r   r   r   ÚIOErrorÚpython_implementationÚpython_versionÚsysÚpypy_version_infoÚmajorÚminorÚmicroÚreleaselevelÚjoinÚgetattrr   Úpyjwt_version)Zplatform_infor   Úimplementation_version© r   ú,/tmp/pip-unpacked-wheel-eh6jf6x0/jwt/help.pyÚinfo   s.    
ý
ÿü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   Úmain7   s    r'   Ú__main__)Ú
__future__r   r%   r   r   r   r   r   r   ÚImportErrorZecdsar    r'   Ú__name__r   r   r   r   Ú<module>   s    

#