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

Annotation of /branches/ROBW_XPLATFORM/bruce/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (hide annotations)
Fri Mar 24 06:44:23 2006 UTC (16 years, 6 months ago) by robwdcock
File size: 313 byte(s)
+Python file now compile and install into pyinstall directory

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

  ViewVC Help
Powered by ViewVC 1.1.26