/[escript]/trunk/modellib/SConstruct
ViewVC logotype

Annotation of /trunk/modellib/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 457 - (hide annotations)
Tue Jan 24 06:13:03 2006 UTC (14 years, 2 months ago) by jgs
File size: 628 byte(s)
fix installation to directories specified by pyinstall and libinstall

1 jgs 268 # Scons configuration file for modellib
2 jgs 455
3     #
4     # set appropriate configuration variable defaults
5 gross 425 esysroot=str(Dir('./..').abspath)
6     execfile(str(File(esysroot+"/scons/esys_options.py")))
7 jgs 268
8     pydir = Dir(str(esysroot) + '/modellib/lib/py_src')
9     Export(["pydir"])
10 jgs 288 pydir2 = Dir(str(esysroot) + '/esys/modellib')
11     Export(["pydir2"])
12 jgs 457 if pyinstall != None:
13     pyinstall = Dir(str(pyinstall) + '/modellib')
14     Export(["pyinstall"])
15 jgs 268
16     #
17     # print out build configuration for this module
18    
19     print "Build configuration for module: modellib"
20 jgs 455
21 jgs 268 #
22     # call the SConscript to do the actual build
23    
24     SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26