ó
áÞSc           @   sÀ   d  Z  d Z d Z d Z d d l Z d e f d „  ƒ  YZ d e f d	 „  ƒ  YZ d
 d d „  ƒ  YZ d d d „  ƒ  YZ	 d e e	 f d „  ƒ  YZ
 d d l Z d Z e r³ d „  Z n	 d „  Z d S(   s]  
This is the Docutils (Python Documentation Utilities) package.

Package Structure
=================

Modules:

- __init__.py: Contains component base classes, exception classes, and
  Docutils version information.

- core.py: Contains the ``Publisher`` class and ``publish_*()`` convenience
  functions.

- frontend.py: Runtime settings (command-line interface, configuration files)
  processing, for Docutils front-ends.

- io.py: Provides a uniform API for low-level input and output.

- nodes.py: Docutils document tree (doctree) node class library.

- statemachine.py: A finite state machine specialized for
  regular-expression-based text filters.

Subpackages:

- languages: Language-specific mappings of terms.

- parsers: Syntax-specific input parser modules or packages.

- readers: Context-specific input handlers which understand the data
  source and manage a parser.

- transforms: Modules used by readers and writers to modify DPS
  doctrees.

- utils: Contains the ``Reporter`` system warning class and miscellaneous
  utilities used by readers, writers, and transforms.

  utils/urischemes.py: Contains a complete mapping of known URI addressing
  scheme names to descriptions.

- utils/math: Contains functions for conversion of mathematical notation
  between different formats (LaTeX, MathML, text, ...).

- writers: Format-specific output translators.
t   reStructuredTexts   0.12t   releaseiÿÿÿÿNt   ApplicationErrorc           B   s#   e  Z e j d k  r! d „  Z n  RS(   i   i   c         C   s   d j  |  j ƒ S(   Nu   , (   t   joint   args(   t   self(    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyt   __unicode__J   s    (   i   i   (   t   __name__t
   __module__t   syst   version_infoR   (    (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyR   D   s   t	   DataErrorc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyR   M   s    t   SettingsSpecc           B   s2   e  Z d  Z d Z d Z d Z d Z d Z d Z	 RS(   s€   
    Runtime setting specification base class.

    SettingsSpec subclass objects used by `docutils.frontend.OptionParser`.
    (    N(    (
   R   R   t   __doc__t   settings_spect   Nonet   settings_defaultst   settings_default_overridest   relative_path_settingst   config_sectiont   config_section_dependencies(    (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyR   P   s   't   TransformSpecc           B   s#   e  Z d  Z d „  Z d Z d Z RS(   s„   
    Runtime transform specification base class.

    TransformSpec subclass objects used by `docutils.transforms.Transformer`.
    c         C   s<   |  j  d k r8 d d l } | j d t ƒ t |  j  ƒ Sg  S(   s;   Transforms required by this class.  Override in subclasses.iÿÿÿÿNsM   default_transforms attribute deprecated.
Use get_transforms() method instead.(    (   t   default_transformst   warningst   warnt   DeprecationWarningt   list(   R   R   (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyt   get_transforms¡   s    	(    (    (   R   R   R   R   R   t   unknown_reference_resolvers(    (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyR   ™   s
   	t	   Componentc           B   s#   e  Z d  Z d Z d Z d „  Z RS(   s#   Base class for Docutils components.c         C   s   | |  j  k S(   s¼   
        Is `format` supported by this component?

        To be used by transforms to ask the dependent component if it supports
        a certain input context or output format.
        (   t	   supported(   R   t   format(    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyt   supportsÒ   s    N(    (   R   R   R   R   t   component_typeR   R    (    (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyR   Ç   s   i
   c         C   s{   t  j j |  ƒ } t  j j t  j j t ƒ d ƒ } |  j | ƒ sX t d |  | f ƒ ‚ | t | ƒ } t  j j d | ƒ S(   Nt    s   %r doesn't start with %rs   /usr/share/docutils/(   t   ost   patht   dirnameR   t   __file__t
   startswitht   AssertionErrort   len(   R$   R%   t   prefixt   suffix(    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyt   _datadirà   s
    !%c         C   s   t  j j |  ƒ S(   N(   R#   R$   R%   (   R$   (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyR,   ç   s    (    (    (   R   t   __docformat__t   __version__t   __version_details__R	   t   StandardErrorR   R   R   R   R   R#   t   _debian_packageR,   (    (    (    s5   /usr/lib/python2.7/dist-packages/docutils/__init__.pyt   <module>3   s   	I.