ViewVC logotype

Contents of /branches/RW_WIN32/bruce/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log

Revision 229 - (show annotations)
Fri Nov 25 06:17:13 2005 UTC (15 years ago) by robwdcock
Original Path: branches/RW_WIN32/bruce/py_src/Sconscript
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 Import('*')
3 local_env=env.Copy()
5 src_dir = local_env.Dir('.').srcnode().abspath
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']]
11 pyc = local_env.PyCompile(python_src)
12 local_env.Install(esys_lib+'/esys/bruce', pyc)

  ViewVC Help
Powered by ViewVC 1.1.26