INNER CODE UNIT · Python
compile_all
nloyfer/wgbs_tools · setup.py:71
def compile_all(args):
curdir = os.getcwd()
try:
os.chdir(op.dirname(op.realpath(__file__)))
# compile C++ files
for module in modules.keys():
if args.targets and module not in args.targets:
continue
compile_single(modules[module], module, args.verbose)
except RuntimeError as e:
eprint(e)
os.chdir(curdir)
return
os.chdir(curdir)