Ñò ‚Ic @ s¬ d d k Z d d k Z d d k Z d d k l Z l Z d d k l Z e a y d d k Z Wn# e j o d d k l Z n Xd e f d „ ƒ YZ e d „ Z d S( iÿÿÿÿN( t pluginlibt copydir( t BadCommand( t subprocess24t FileOpc B sª e Z d Z e e e d d d „ Z d e e d d „ Z d e d „ Z d d „ Z e d „ Z d „ Z e e d „ Z e e d „ Z d „ Z e Z d „ Z d „ Z RS( s^ Enhance the ease of file copying/processing from a package into a target project c C sZ | | _ | | _ | | _ | d j o h } n | | _ | | _ t | t ƒ | _ d S( s Initialize our File operation helper object source_dir Should refer to the directory within the package that contains the templates to be used for the other copy operations. It is assumed that packages will keep all their templates under a hierarchy starting here. This should be an absolute path passed in, for example:: FileOp(source_dir=os.path.dirname(__file__) + '/templates') N( t simulatet verboset interactivet Nonet template_varst source_dirt isinstancet tuplet use_pkg_resources( t selfR R R R R ( ( s: /usr/lib/python2.6/site-packages/paste/script/filemaker.pyt __init__ s c C sÀ | p5 | i d ƒ d } | i d ƒ o | d } q<