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

Diff of /trunk/pyvisi/py_src/renderers/gnuplot/SConscript

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 693 by gross, Mon Mar 20 01:49:39 2006 UTC revision 694 by gross, Thu Mar 30 11:35:55 2006 UTC
# Line 1  Line 1 
 pyinstall = None  
   
1  Import('*')  Import('*')
2    
3  import os  local_env=env.Copy()
 import sys  
   
 extensions_dir = str(esysroot) + '/scons'  
 sys.path.append(extensions_dir)  
4    
5  import scons_extensions  src_dir = local_env.Dir('.').srcnode().abspath
6    
7  pyvisipy_env = Environment(ENV = os.environ)  import os
8    filenames = os.listdir(src_dir)
9  py_builder = Builder(action = scons_extensions.build_py, suffix = '.pyc', src_suffix = '.py', single_source=True)  python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]
 pyvisipy_env.Append(BUILDERS = {'PyCompile' : py_builder});  
   
 python_src = ['__init__.py',  
               'arrow_plot.py',  
               'axes.py',  
               'camera.py',  
               'common.py',  
               'contour_plot.py',  
               'image.py',  
               'item.py',  
               'line_plot.py',  
               'mesh_plot.py',  
               'offset_plot.py',  
               'plane.py',  
               'plot.py',  
               'renderer.py',  
               'scatter_plot_3d.py',  
               'scatter_plot.py',  
               'scene.py',  
               'surface_plot.py',  
               'text.py']  
10    
11  pyc = pyvisipy_env.PyCompile(python_src)  pyc = local_env.PyCompile(python_src)
12    
13  Default(pyvisipy_env.Install(Dir(str(pydir2)+"/renderers/gnuplot"), pyc))  local_env.Depends(pyc, dep_lib)
14  if pyinstall != None:  local_env.Install(pyinstall+'/pyvisi/renderers/gnuplot', pyc)
   Default(pyvisipy_env.Install(pyinstall, pyc))  

Legend:
Removed from v.693  
changed lines
  Added in v.694

  ViewVC Help
Powered by ViewVC 1.1.26