/[escript]/trunk/finley/py_src/SConscript
ViewVC logotype

Annotation of /trunk/finley/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 384 - (hide annotations)
Mon Dec 19 06:11:32 2005 UTC (17 years, 3 months ago) by gross
File size: 660 byte(s)
finleybench is build now
1 jgs 268 pyinstall = None
2    
3     Import('*')
4    
5     import os
6     import sys
7    
8     extensions_dir = str(esysroot) + '/scons'
9     sys.path.append(extensions_dir)
10    
11     import scons_extensions
12    
13     finleypy_env = Environment(ENV = os.environ)
14    
15     py_builder = Builder(action = scons_extensions.build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)
16     finleypy_env.Append(BUILDERS = {'PyCompile' : py_builder});
17    
18     python_src = ['__init__.py',
19 gross 384 'finley.py',
20     'finleybench.py']
21 jgs 268
22     pyc = finleypy_env.PyCompile(python_src)
23    
24 jgs 352 Default(finleypy_env.Install(pydir, pyc))
25     Default(finleypy_env.Install(pydir2, pyc))
26 jgs 268 if pyinstall != None:
27 jgs 352 Default(finleypy_env.Install(pyinstall, pyc))

  ViewVC Help
Powered by ViewVC 1.1.26