# wxs component name comp_name = path_to_comp_id(path, "openrtp") # wxs directory name dir_name = path_to_dir_id(path, "openrtp") path = path.replace("/", "\\") # full path to target directory full_path = base_dir + "\\" + path import glob flist = [] for f in files.split(" "): flist += glob.glob(full_path + "\\" + f) cmd = ["flist", "-c", comp_name, "-o", dir_name + ".yaml", "-p", base_dir + path] cmd += flist makewxs.main(cmd) cmd = ["wxs", "-o", "OpenRTP_inc.wxs", "-i", "OpenRTP_inc.wxs.in"] cmd += glob.glob("*.yaml") print "cmd:",cmd makewxs.main(cmd)
comp_name = path_to_comp_id(path, "py26") # wxs directory name dir_name = path_to_dir_id(path, "py26") path = path.replace("/", "\\") # full path to target directory full_path = base_dir + "\\" + path flist = [] for f in files.split(" "): flist += glob.glob(full_path + "\\" + f) cmd = ["flist", "-c", comp_name, "-o", dir_name + ".yaml", "-p", base_dir + path] cmd += flist makewxs.main(cmd) ## make wxs file ## cmd = ["wxs", "-o", "omniORBpy26_inc.wxs", "-i", "omniORBpy26_inc.wxs.in"] cmd += glob.glob("*.yaml") makewxs.main(cmd)