/[escript]/branches/arrexp_2137_win/doc/epydoc/SConscript
ViewVC logotype

Diff of /branches/arrexp_2137_win/doc/epydoc/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 484 by cochrane, Fri Dec 16 00:51:22 2005 UTC revision 485 by jgs, Thu Feb 2 04:21:02 2006 UTC
# Line 1  Line 1 
1  # Scons configuration file for epydoc docs  # Scons configuration file for epydoc docs
2    
3  import os  import os
 import sys  
   
 #  
 # ensure correct versions of python and scons  
   
 EnsurePythonVersion(2,3)  
 EnsureSConsVersion(0,96)  
4    
5  #  #
6  # set appropriate defaults for configuration variables  # set appropriate defaults for configuration variables
7    
8  esysroot = Dir('#../..')  esysroot=str(Dir('../..').abspath)
9    execfile(str(File(esysroot+"/scons/esys_options.py")))
 #  
 # import configuration variables passed in from  
 # calling SConscript (if any)  
   
 Import('*')  
   
 #  
 # load configuration settings  
10    
11  options_dir = str(esysroot) + '/scons'  import scons_extensions
 sys.path.append(options_dir)  
12    
13  #  #
14  # do the actual build  # do the actual build
# Line 33  source = 'runepydoc' Line 17  source = 'runepydoc'
17    
18  epydoc_env = Environment(ENV = os.environ)  epydoc_env = Environment(ENV = os.environ)
19    
 import scons_extensions  
20  runEpydoc_builder = Builder(action = scons_extensions.build_epydoc, suffix = ".run")  runEpydoc_builder = Builder(action = scons_extensions.build_epydoc, suffix = ".run")
21  epydoc_env.Append(BUILDERS = {'RunEpydoc' : runEpydoc_builder})  epydoc_env.Append(BUILDERS = {'RunEpydoc' : runEpydoc_builder})
22    

Legend:
Removed from v.484  
changed lines
  Added in v.485

  ViewVC Help
Powered by ViewVC 1.1.26