branch | pyrit |
changeset 65 | 242839c6d27d |
parent 63 | 440e1ae80459 |
child 72 | 7c3f38dff082 |
--- a/demos/SConscript Wed Apr 09 17:55:29 2008 +0200 +++ b/demos/SConscript Thu Apr 10 23:20:36 2008 +0200 @@ -12,6 +12,7 @@ for file in files: l.append( env.Copy('#build/demos/'+file, file) ) -l.append( env.Copy('#build/demos/'+str(pymodule[0]).split('/')[-1], str(pymodule[0])) ) +import os +l.append( env.Copy('#build/demos/'+str(pymodule[0]).split(os.sep)[-1], str(pymodule[0])) ) env.Alias('python-demos', l)