U
    ±bû[I  ã                   @   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ÚreleaseZUnknownZCPythonZPyPyz%s.%s.%sÚfinalÚ )ÚnameÚversionr
   r   )ÚplatformÚimplementationÚcryptographyZpyjwt)r   r   r   ÚIOErrorZpython_implementationZpython_versionÚsysZpypy_version_infoÚmajorÚminorÚmicroÚreleaselevelÚjoinÚgetattrr   Úpyjwt_version)Zplatform_infor   Zimplementation_version© r   ú*/usr/lib/python3/dist-packages/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é   )Z	sort_keysÚindentN)ÚprintÚjsonÚdumpsr   r   r   r   r   Úmain7   s    r   Ú__main__)Z
__future__r   r   r   r   r   r   r   r   ÚImportErrorZecdsar   r   Ú__name__r   r   r   r   Ú<module>   s    

#