/[escript]/trunk/scons/scons_extensions.py
ViewVC logotype

Contents of /trunk/scons/scons_extensions.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 268 - (show annotations)
Wed Nov 30 01:39:47 2005 UTC (13 years, 7 months ago) by jgs
File MIME type: text/x-python
File size: 185 byte(s)
setup scons configuration to make and install python code

1 # Extensions to Scons
2
3 import py_compile
4 import sys
5
6 # Code to build .pyc from .py
7 def build_py(target, source, env):
8 py_compile.compile(str(source[0]), str(target[0]))
9 return None

  ViewVC Help
Powered by ViewVC 1.1.26