/[escript]/branches/RW_WIN32/bruce/py_src/Sconscript
ViewVC logotype

Annotation of /branches/RW_WIN32/bruce/py_src/Sconscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 229 - (hide annotations)
Fri Nov 25 06:17:13 2005 UTC (15 years ago) by robwdcock
File size: 290 byte(s)
+ Added Options capability
+ All py files are now compiled and installed into lib directory hierarchy
+ scons now reads custom options from custom.py. Examples are in the scons_custom_templates directory, just copy to top level build dir and rename to custom.py
+ scons_ext.py now has some helper functions for building pyc from python and running unit tests (but only when some dependency changes).


1 robwdcock 220 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 robwdcock 229 local_env.Install(esys_lib+'/esys/bruce', pyc)

  ViewVC Help
Powered by ViewVC 1.1.26