/[escript]/tags/prior_to_merge_with_ROBW_XPLATFORM/pyvisi/py_src/SConscript
ViewVC logotype

Contents of /tags/prior_to_merge_with_ROBW_XPLATFORM/pyvisi/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 680 - (show annotations)
Mon Mar 27 02:15:08 2006 UTC (14 years, 7 months ago) by robwdcock
File size: 819 byte(s)
Tagging trunk prior to merge with ROBW_XPLATFORM branch
1 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 'axes.py',
20 'camera.py',
21 'common.py',
22 'image.py',
23 'item.py',
24 'plane.py',
25 'plot.py',
26 'renderer.py',
27 'scene.py',
28 'text.py']
29
30 pyc = pyvisipy_env.PyCompile(python_src)
31 Default(pyvisipy_env.Install(pydir2, pyc))
32 if pyinstall != None:
33 Default(pyvisipy_env.Install(pyinstall, pyc))

  ViewVC Help
Powered by ViewVC 1.1.26