/[escript]/trunk/pyvisi/py_src/renderers/vtk/SConscript
ViewVC logotype

Annotation of /trunk/pyvisi/py_src/renderers/vtk/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 603 - (hide annotations)
Mon Mar 20 01:49:39 2006 UTC (16 years, 8 months ago) by gross
File size: 1165 byte(s)
pyvisi compiles now
1 gross 603 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     'arrow_plot_3d.py',
20     'axes.py',
21     'box.py',
22     'common.py',
23     'ellipsoid_plot.py',
24     'item.py',
25     'offset_plot.py',
26     'plot.py',
27     'scene.py',
28     'surface_plot.py',
29     'arrow_plot.py',
30     'ball_plot.py',
31     'camera.py',
32     'contour_plot.py',
33     'image.py',
34     'isosurface_plot.py',
35     'line_plot.py',
36     'plane.py',
37     'renderer.py',
38     'text.py']
39    
40     pyc = pyvisipy_env.PyCompile(python_src)
41    
42     Default(pyvisipy_env.Install(Dir(str(pydir2)+"/renderers/vtk"), pyc))
43     if pyinstall != None:
44     Default(pyvisipy_env.Install(pyinstall, pyc))

  ViewVC Help
Powered by ViewVC 1.1.26