def savebuildfiles(srcdir, sourcepath): dstpath = os.path.join("bytecode", sourcepath, "build") call(["mkdir", "-p", dstpath]) cc.copyrecursively(os.path.join(srcdir, "build"), dstpath)
def makeproject(sourcepath, data, srcdir): cc.copyrecursively(os.path.join(sourcepath, "content"), srcdir) return makebuildfile(data, srcdir)