/[escript]/branches/RW_WIN32/escript/py_src/SConscript
ViewVC logotype

Contents of /branches/RW_WIN32/escript/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222 - (show annotations)
Thu Nov 24 12:54:42 2005 UTC (14 years, 11 months ago) by robwdcock
Original Path: branches/RW_WIN32/escript/py_src/Sconscript
File size: 289 byte(s)
+Unified with linux build (tested on windows only at this point)
1 Import('*')
2
3 local_env=env.Copy()
4
5 src_dir = local_env.Dir('.').srcnode().abspath
6
7 import os
8 filenames = os.listdir(src_dir)
9 python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]
10
11 pyc = local_env.PyCompile(python_src)
12 local_env.Install(esys_lib+'/'+lib_name, pyc)

  ViewVC Help
Powered by ViewVC 1.1.26