ó
9Á\c           @@  s  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	 e
 r d d l m Z m Z n  d	 e j k rŪ e j d
 d e n  e j d d e d d d Z d Z d% Z e j e j e   Z e Z e j d  re Z e d  Z yr d d l Z e j d d d d g d e j d e j Z e j   \ Z Z  e re d e j!   j"   7Z n  Wqe# k
 rqXn  e j$ d  Z% e j$ d  Z& e j$ d  Z' e( d  k rd d! l) m* Z* e j+ d" e	 d# d$ e* j%   n  d S(&   sē   
    Sphinx
    ~~~~~~

    The Sphinx documentation toolchain.

    :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
i    (   t   absolute_importN(   t   pathi   (   t   RemovedInNextVersionWarning(   t   RemovedInSphinx20Warning(   t   Anyt   Listt   PYTHONWARNINGSt   defaultt   categoryt   ignores   'U' mode is deprecatedt   modules   docutils.ios   1.8.5i   i   t   finalt   +iĸĸĸĸt   gitt   shows   -ss   --pretty=format:%ht   stdoutt   stderrt   /c         C@  s=   d d l  m } t j d t d d |  d }  | j |   S(   Ni   (   t   builds7   `sphinx.main()` has moved to `sphinx.cmd.build.main()`.t
   stackleveli   (   t   cmdR   t   warningst   warnR   t   main(   t   argvR   (    (    s.   lib/python2.7/site-packages/sphinx/__init__.pyR   H   s    
c         C@  s7   d d l  m } t j d t d d | j |  d  S(   s'   Sphinx build "main" command-line entry.i   (   R   sC   `sphinx.build_main()` has moved to `sphinx.cmd.build.build_main()`.R   i   (   R   R   R   R   R   t
   build_main(   R   R   (    (    s.   lib/python2.7/site-packages/sphinx/__init__.pyR   T   s    c         C@  s7   d d l  m } t j d t d d | j |  d  S(   s   Sphinx build "make mode" entry.i   (   R   sB   `sphinx.build_main()` has moved to `sphinx.cmd.build.make_main()`.R   i   (   R   R   R   R   R   t	   make_main(   R   R   (    (    s.   lib/python2.7/site-packages/sphinx/__init__.pyR   _   s    t   __main__(   R   s%   `sphinx` has moved to `sphinx.build`.R   i   (   i   i   i   R   i    (,   t   __doc__t
   __future__R    t   ost   sysR   R   t   deprecationR   R   t   Falset   typingR   R   t   environt   filterwarningst   DeprecationWarningt   __version__t   __released__t   version_infot   abspatht   dirnamet   __file__t   package_dirt   __display_version__t   endswitht
   subprocesst   Popent   PIPEt   pt   communicatet   outt   errt   decodet   stript	   ExceptionR   R   R   R   t   __name__R   R   R   (    (    (    s.   lib/python2.7/site-packages/sphinx/__init__.pyt   <module>
   sP   

!