/[escript]/branches/ROBW_XPLATFORM/modellib/py_src/SConscript
ViewVC logotype

Annotation of /branches/ROBW_XPLATFORM/modellib/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 662 - (hide annotations)
Fri Mar 24 09:15:54 2006 UTC (15 years, 7 months ago) by robwdcock
File size: 316 byte(s)
+Modellib now include in build

1 jgs 268 Import('*')
2    
3 robwdcock 662 local_env=env.Copy()
4 jgs 268
5 robwdcock 662 src_dir = local_env.Dir('.').srcnode().abspath
6 jgs 268
7 robwdcock 662 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 jgs 268
11 robwdcock 662 pyc = local_env.PyCompile(python_src)
12 jgs 268
13 robwdcock 662 local_env.Depends(pyc, dep_lib)
14     local_env.Install(pyinstall+'/modellib', pyc)

  ViewVC Help
Powered by ViewVC 1.1.26