def stage(): fileutil.rmdir(stageDir) fileutil.mkdir(stageDir) for x in xcopies: dirName = x[0] exclude = x[1] srcDir = os.path.join(env.home, dirName) if os.path.exists(srcDir): fileutil.cpdir(srcDir, os.path.join(stageDir, dirName), exclude)
def stage(): fileutil.rmdir(stageDir) fileutil.mkdir(stageDir) for x in xcopies: dirName = x[0] exclude = x[1] srcDir = os.path.join(env.home, dirName) if os.path.exists(srcDir): fileutil.cpdir(srcDir, os.path.join(stageDir, dirName), exclude)
def main(): global parser, options (options, args) = parser.parse_args() buildsrcdocs = env.sedonacExe + " -doc -outDir " + env.build + " " + env.kits docOut = os.path.join(env.build, "doc") fileutil.cpdir(env.doc, docOut) buildpubdocs = env.sedonacExe + " -doc " + os.path.join(docOut, "toc.xml") #print "\n\n Executing cmd = { " + cmd + " }\n\n" if subprocess.call(buildsrcdocs, shell=True): raise Exception, "\n *** Failed:\n" + buildsrcdocs if subprocess.call(buildpubdocs, shell=True): raise Exception, "\n *** Failed:\n" + buildpubdocs
def main(): global parser, options (options, args) = parser.parse_args() buildsrcdocs = env.sedonacExe + " -doc -outDir " + env.build + " " + env.kits docOut = os.path.join(env.build, "doc") fileutil.cpdir(env.doc, docOut) buildpubdocs = env.sedonacExe + " -doc " + os.path.join(docOut, "toc.xml") #print "\n\n Executing cmd = { " + cmd + " }\n\n" if subprocess.call(buildsrcdocs, shell=True): raise Exception("\n *** Failed:\n" + buildsrcdocs) if subprocess.call(buildpubdocs, shell=True): raise Exception("\n *** Failed:\n" + buildpubdocs)
def compile(): print "====== makedist.compile ======" # make sedona.jar makesedona.compile() # make sedonac.jar makesedonac.compile() # make all kits compilekit.compile(env.kits, ["-doc", "-outDir", env.build]) # make docs docOut = os.path.join(env.build, "doc") fileutil.cpdir(env.doc, docOut) compilekit.compile(os.path.join(docOut, "toc.xml"), ["-doc"]) # Make Sedona VM (svm) if os.name == "posix": # unix, OSX makeunixvm.main([]) else: # win32 makewinvm.compile()
def compile(): print "====== makedist.compile ======" # make sedona.jar makesedona.compile() # make sedonac.jar makesedonac.compile() # make all kits compilekit.compile(env.kits, ["-doc", "-outDir", env.build]) # make docs docOut = os.path.join(env.build, "doc") fileutil.cpdir(env.doc, docOut) compilekit.compile(os.path.join(docOut, "toc.xml"), ["-doc"]) # Make Sedona VM (svm) if os.name == "posix": # unix, OSX makeunixvm.main([]) else: # win32 makewinvm.compile()