def delete ( build_folder ) : if _meta_ . del_build in [ "on" , "ON" ] and os . path . exists ( build_folder ) : shutil . rmtree ( build_folder )
python django delete project
Delete build directory and all its contents .
def delete(build_folder):
    """Delete build directory and all its contents.
    """
    if _meta_.del_build in ["on", "ON"] and os.path.exists(build_folder):
        shutil.rmtree(build_folder)