
3Nc           @   sC   d  Z  d d k l Z d d k l Z d e i f d     YZ d S(   s)   Definitions for Bazki quickstart templatei(   t	   templates(   t   paste_script_template_renderert   BazkiTemplatec           B   s   e  Z d  Z d Z e e  Z d Z d d d d g Z e	 i
 d d  e	 i
 d	 d
  e	 i
 d d  e	 i
 d d  g Z d   Z RS(   s,   
    Bazki default paste template class
    t   code_templates"   Bazki Standard Quickstart Templatet   PasteScriptt   Pylonst   TurboGears2s   tg.devtoolst   dburls   url for SQLAlchemy databaset   usernames   username for inital admin usert   elmnames#   element name for initial admin usert   passwords   password for initial admin userc         C   sp   | d } | d j o
 d } n | | d <| i  d d  } | d j o d d d f | d <n d | d <d S(   s"   Called before template is applied.t   packaget   roott   appt   package_loggert   template_enginet   genshit   makos*   ('templates/**.mako', 'mako', None),
%s#%st    i   i   t   babel_templates_extractort    Ns       s           (   t
   setdefault(   t   selft   commandt
   output_dirt   varsR   R   (    (    sF   /afs/sipb.mit.edu/project/bazki/Checkout/lib/bazstart/pastetemplate.pyt   pre   s    


		(   t   __name__t
   __module__t   __doc__t   _template_dirt   staticmethodR   t   template_renderert   summaryt   egg_pluginsR    t   varR   R   (    (    (    sF   /afs/sipb.mit.edu/project/bazki/Checkout/lib/bazstart/pastetemplate.pyR      s   N(   R   t   paste.scriptR    t   tempitaR   t   TemplateR   (    (    (    sF   /afs/sipb.mit.edu/project/bazki/Checkout/lib/bazstart/pastetemplate.pyt   <module>   s   