demos/SConscript
branchpyrit
changeset 65 242839c6d27d
parent 63 440e1ae80459
child 72 7c3f38dff082
equal deleted inserted replaced
64:5785cca4cdb9 65:242839c6d27d
    10 
    10 
    11 l = []
    11 l = []
    12 for file in files:
    12 for file in files:
    13 	l.append( env.Copy('#build/demos/'+file, file) )
    13 	l.append( env.Copy('#build/demos/'+file, file) )
    14 
    14 
    15 l.append( env.Copy('#build/demos/'+str(pymodule[0]).split('/')[-1], str(pymodule[0])) )
    15 import os
       
    16 l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) )
    16 
    17 
    17 env.Alias('python-demos', l)
    18 env.Alias('python-demos', l)