U
    Y»{j  ã                   @   s0   d dl mZ eƒ d Z[d dlmZ dd„ ZdS )é   )Úget_versionsÚversion)Ú__frontend_version__c                  C   s6   ddl m}  | tƒj}d dd„ |dd… D ƒ¡}|S )z�
    Get the stable portion of the semantic version string (the first three
    numbers), without any of the trailing labels

    '3.0.0rc11' -> '3.0.0'
    é    )ÚLooseVersionÚ.c                 s   s   | ]}t |ƒV  qd S )N)Ústr)Ú.0Ús© r   úM/var/www/html/bwave/python/venv/lib/python3.8/site-packages/plotly/version.pyÚ	<genexpr>   s     z stable_semver.<locals>.<genexpr>é   )Zdistutils.versionr   Ú__version__r   Újoin)r   Zversion_componentsZstable_ver_strr   r   r   Ústable_semver	   s    
r   N)Ú_versionr   r   Z_widget_versionr   r   r   r   r   r   Ú<module>   s   
