human
Here's a good function header given the following:
I wrote the below code

    pyver = options.python_version
    def copy_bdist(arch):
        source = os.path.join('dist', wininst_name(pyver))
        target = os.path.join(options.superpack.bindir, internal_wininst_name(arch))
        if os.path.exists(target):
            os.remove(target)
        if (not os.path.exists(os.path.dirname(target))):
            os.makedirs(os.path.dirname(target))
        try:
            os.rename(source, target)
        except OSError:
            ix = (source.find('.dev0+') + 6)
            source = ((source[:ix] + 'Unknown') + source[(ix + 7):])
            os.rename(source, target)
    bdist_wininst_arch(pyver, 'nosse')
    copy_bdist('nosse')
    bdist_wininst_arch(pyver, 'sse2')
    copy_bdist('sse2')
    bdist_wininst_arch(pyver, 'sse3')
    copy_bdist('sse3')
    prepare_nsis_script(pyver, FULLVERSION)
    subprocess.check_call((MAKENSIS + ['scipy-superinstaller.nsi']), cwd=options.superpack.builddir)
    if (not os.path.exists(options.installers.installersdir)):
        os.makedirs(options.installers.installersdir)
    source = os.path.join(options.superpack.builddir, superpack_name(pyver, FULLVERSION))
    target = os.path.join(options.installers.installersdir, superpack_name(pyver, FULLVERSION))
    shutil.copy(source, target)

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

@task
@cmdopts([('python-version=', 'p', 'python    version')])
def bdist_superpack(options):