KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pbr/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pbr/__pycache__/sphinxext.cpython-38.pyc
U

jP�^��@sZddlZddlmZddlmZddlZdae�	e
�Zdd�Zdd�Z
dd	�Zd
d�ZdS)�N)�configparser)�loggingcCsFtj�|tjd�tj�|tjtjd�fD]}tj�|�r(|Sq(dS)z�Find the 'setup.cfg' file, if it exists.

    This assumes we're using 'doc/source' for documentation, but also allows
    for single level 'doc' paths.
    z	setup.cfgN)�os�path�join�pardir�exists)�srcdirr�r
�//usr/lib/python3/dist-packages/pbr/sphinxext.py�_find_setup_cfgs
�
rcCs�tdkr�t��}t|�}|r&|�|�s4t�d�dSz8|�dd�}t|�	��dkrjt|�dkrj|�dd�}Wn"tj
k
r�t�d�YdSX|atS)	z�Return string name of project name, or None.

    This extracts metadata from 'setup.cfg'. We don't rely on
    distutils/setuptools as we don't want to actually install the package
    simply to build docs.
    Nz7Could not find a setup.cfg to extract project name fromZmetadata�name�� Zsummaryz1Could not extract project metadata from setup.cfg)�_projectrZConfigParserr�read�logger�info�get�len�split�Error)r	�parserrZprojectr
r
r�_get_project_name-s	

rcCsdt|j�}ztj�|�}Wntk
r2d}YnX|r`|jjs`|jjs`|��|j_|�	�|j_dS)N)
rr	�pbr�versionZVersionInfo�	ExceptionZconfig�releaseZcanonical_version_stringZversion_string_with_vcs)�appZproject_name�version_infor
r
r�_builder_initedOs

r cCs|�dt�ddd�S)Nzbuilder-initedT)Zparallel_read_safeZparallel_write_safe)Zconnectr )rr
r
r�setup^s�r!)�os.pathrZ	six.movesrZsphinx.utilrZpbr.versionrrZ	getLogger�__name__rrrr r!r
r
r
r�<module>s
"

Anon7 - 2021