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

Annotation of /trunk/escript/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 525 - (hide annotations)
Tue Feb 14 06:56:13 2006 UTC (13 years, 8 months ago) by gross
File size: 1671 byte(s)
rob's strange NoPDE class added
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     escriptpy_env = Environment(ENV = os.environ)
14    
15     py_builder = Builder(action = scons_extensions.build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)
16     escriptpy_env.Append(BUILDERS = {'PyCompile' : py_builder});
17    
18     python_src = ['__init__.py',
19     'escript.py',
20     'esysXML.py',
21     'linearPDEs.py',
22     'pdetools.py',
23 jgs 322 'modelframe.py',
24 jgs 268 'runmodel.py',
25     'symbols.py',
26     'test_symbols.py',
27     'timeseries.py',
28     'test_linearPDEs.py',
29 gross 395 'util.py',
30 jgs 268 'test_util.py',
31 gross 395 'test_util_base.py',
32     'test_util_overloaded_binary_no_tagged_data.py',
33     'test_util_reduction_with_tagged_data.py',
34     'test_util_binary_no_tagged_data.py',
35     'test_util_overloaded_binary_with_tagged_data.py',
36 gross 517 'test_util_slicing_no_tagged_data.py',
37 gross 395 'test_util_unary_no_tagged_data.py',
38     'test_util_binary_with_tagged_data.py',
39     'test_util_reduction_no_tagged_data.py',
40     'test_util_unary_with_tagged_data.py',
41 gross 517 'test_util_slicing_with_tagged_data.py',
42 gross 437 'test_util_spatial_functions.py',
43 gross 525 'test_pdetools.py',
44 gross 395 'benchmark.py']
45 jgs 268
46     pyc = escriptpy_env.PyCompile(python_src)
47    
48 jgs 352 Default(escriptpy_env.Install(pydir, pyc))
49     Default(escriptpy_env.Install(pydir2, pyc))
50 jgs 268 if pyinstall != None:
51 jgs 352 Default(escriptpy_env.Install(pyinstall, pyc))

  ViewVC Help
Powered by ViewVC 1.1.26