- Timestamp:
- 08/10/06 13:39:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1123 r1125 1 import os, sys, glob 1 import os 2 import sys 3 import glob 2 4 import distutils.sysconfig 3 5 import platform 6 # scons plug-ins 4 7 sys.path.append("scons") 5 8 from casa import checkCasa 9 from installtree import InstallTree 6 10 7 moduledir = '/tmp'#distutils.sysconfig.get_python_lib()11 moduledir = distutils.sysconfig.get_python_lib() 8 12 9 13 opts = Options("userconfig.py") … … 62 66 env.Install(env["dist_dir"], so ) 63 67 pys = env.SConscript("python/SConscript") 64 env.Install(moduledir, Dir(env["dist_dir"])) 65 env.Alias('install', moduledir) 68 asapmod = InstallTree(env, 69 dest_dir = os.path.join(moduledir, "asap"), 70 src_dir = env["dist_dir"], 71 includes = ['*.py', '*.so'], 72 excludes = []) 73 env.Alias('install', asapmod) 66 74 67 75 #if env['mode'] == "release":
Note:
See TracChangeset
for help on using the changeset viewer.