/[escript]/trunk/pyvisi/py_src/utils/SConscript
ViewVC logotype

Annotation of /trunk/pyvisi/py_src/utils/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 611 - (hide annotations)
Tue Mar 21 23:22:37 2006 UTC (14 years, 10 months ago) by gross
File size: 603 byte(s)
typo fixed
1 gross 605 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     pyvisipy_env = Environment(ENV = os.environ)
14    
15     py_builder = Builder(action = scons_extensions.build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)
16     pyvisipy_env.Append(BUILDERS = {'PyCompile' : py_builder});
17    
18     python_src = ['__init__.py',
19 gross 611 'utils.py']
20 gross 605
21     pyc = pyvisipy_env.PyCompile(python_src)
22 gross 611 Default(pyvisipy_env.Install(Dir(str(pydir2)+"/utils"), pyc))
23 gross 605 if pyinstall != None:
24     Default(pyvisipy_env.Install(pyinstall, pyc))

  ViewVC Help
Powered by ViewVC 1.1.26