o
    _H                     @   sn   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y#   dZY nw dd Zdd Z	e
dkr5e	  dS dS )	    N   )__version__c                  C   s   zt  t  d} W n ty   ddd} Y nw t  }|dkr't  }n#|dkrHdtjj	tjj
tjj}tjjdkrGd|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{}.{}.{}final )nameversionr	   r   )platformimplementationcryptographyZpyjwt)r
   r   r   OSErrorZpython_implementationZpython_versionformat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   main6   s   r   __main__)r   r
   r   r   r   r   r   ModuleNotFoundErrorr   r   __name__r   r   r   r   <module>   s    )
