B
    9\]                 @   sr  d Z ddlmZ ddlZddlZddlZddlmZ ddlmZ ddlm	Z	 dej
krdejd	ed
 ejddedd dZdZdZeeeZeZedreZedd ZyLddlZejddddgejejdZe \ZZerede   7 ZW n ek
r   Y nX ej fddZ!ej fddZ"ej fddZ#e$dkrndd l%m&Z& ej'd!e	d"d# e&!  dS )$z
    Sphinx
    ~~~~~~

    The Sphinx documentation toolchain.

    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )absolute_importN)path   )RemovedInNextVersionWarning)RemovedInSphinx20WarningZPYTHONWARNINGSdefault)categoryignorez'U' mode is deprecatedzdocutils.io)modulez1.8.5)r         finalr   +ZgitZshowz-sz--pretty=format:%h)stdoutstderr/c             C   s2   ddl m} tjdtdd | dd  } || S )Nr   )buildz7`sphinx.main()` has moved to `sphinx.cmd.build.main()`.   )
stacklevel)cmdr   warningswarnr   main)argvr    r   .lib/python3.7/site-packages/sphinx/__init__.pyr   H   s    r   c             C   s.   ddl m} tjdtdd || dd S )z'Sphinx build "main" command-line entry.r   )r   zC`sphinx.build_main()` has moved to `sphinx.cmd.build.build_main()`.r   )r   N)r   r   r   r   r   
build_main)r   r   r   r   r   r   T   s    r   c             C   s.   ddl m} tjdtdd || dd S )zSphinx build "make mode" entry.r   )r   zB`sphinx.build_main()` has moved to `sphinx.cmd.build.make_main()`.r   )r   N)r   r   r   r   r   	make_main)r   r   r   r   r   r   _   s    r   __main__)r   z%`sphinx` has moved to `sphinx.build`.r   )r   )(__doc__Z
__future__r   ossysr   r   Zdeprecationr   r   environfilterwarningsDeprecationWarning__version__Z__released__version_infoabspathdirname__file__Zpackage_dirZ__display_version__endswith
subprocessPopenPIPEpZcommunicateouterrdecodestrip	Exceptionr   r   r   r   __name__r   r   r   r   r   r   r   <module>
   sL   




