human
I wrote the below code

    if (not scheme):
        scheme = distutils_scheme(name, user=user, home=home, root=root)
    if root_is_purelib(name, wheeldir):
        lib_dir = scheme['purelib']
    else:
        lib_dir = scheme['platlib']
    info_dir = []
    data_dirs = []
    source = (wheeldir.rstrip(os.path.sep) + os.path.sep)
    installed = {}
    changed = set()
    generated = []
    if pycompile:
        compileall.compile_dir(source, force=True, quiet=True)
    def normpath(src, p):
        return make_path_relative(src, p).replace(os.path.sep, '/')
    def record_installed(srcfile, destfile, modified=False):
        'Map    archive    RECORD    paths    to    installation    RECORD    paths.'
        oldpath = normpath(srcfile, wheeldir)
        newpath = normpath(destfile, lib_dir)
        installed[oldpath] = newpath
        if modified:
            changed.add(destfile)
    def clobber(source, dest, is_base, fixer=None, filter=None):
        if (not os.path.exists(dest)):
            os.makedirs(dest)
        for (dir, subdirs, files) in os.walk(source):
            basedir = dir[len(source):].lstrip(os.path.sep)
            destdir = os.path.join(dest, basedir)
            if (is_base and basedir.split(os.path.sep, 1)[0].endswith('.data')):
                continue
            for s in subdirs:
                destsubdir = os.path.join(dest, basedir, s)
                if (is_base and (basedir == '') and destsubdir.endswith('.data')):
                    data_dirs.append(s)
                    continue
                elif (is_base and s.endswith('.dist-info') and s.lower().startswith(req.project_name.replace('-', '_').lower())):
                    assert (not info_dir), 'Multiple    .dist-info    directories'
                    info_dir.append(destsubdir)
            for f in files:
                if (filter and filter(f)):
                    continue
                srcfile = os.path.join(dir, f)
                destfile = os.path.join(dest, basedir, f)
                if (not os.path.exists(destdir)):
       ...

What's a good function header?
assistant
#Here's a good function header.

def move_wheel_files(name, req, wheeldir, user=False, home=None, root=None, pycompile=True, scheme=None):