9Zc @` sl d Z d d l m Z m Z m Z d d l m Z d d l m Z d d l
m Z d e f d YZ d S( sR Modified version of build_scripts that handles building scripts from functions.
i ( t divisiont absolute_importt print_function( t
build_scripts( t log( t is_stringR c B` s# e Z d Z d Z d Z RS( c C` s g } g } x7 | D]/ } t | r5 | j | q | j | q W| sP | S| j } | j | x | D] } | | } | s qm n t | r t j d | f | j | qm g | D] } t j d | f ^ q | j t | qm W| S( Ns adding '%s' to scripts( R t appendt build_dirt mkpathR t infot extendt list( t selft scriptst new_scriptst func_scriptst scriptR t funct s( ( sX /opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/command/build_scripts.pyt generate_scripts s(
'c C` s>