def compileModule(fn, savePy=0, force=0, verbose=1, importModule=1):
    name, ext = os.path.splitext(fn)
    d = os.path.dirname(fn)
    return getModule(os.path.basename(name), directory=d, source_extension=ext,
                     savePyc=1, savePy=savePy, force=force,
                     verbose=verbose, importModule=importModule)
Compile a prep file to a pyc file.  Optionally, keep the python source too.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/preppy.py/compileModule