Implicitly build kwargs based on standard info

def __infer_setup_kwargs(module, kwargs):
    """ Implicitly build kwargs based on standard info """
    # Get project name from the module
    #if 'name' not in kwargs:
    #    kwargs['name'] = module.__name__
    #else:
    #    raise AssertionError('must specify module name!')
    name = kwargs['name']
    # Our projects depend on utool
    #if kwargs['name'] != 'utool':
    #    install_requires = kwargs.get('install_requires', [])
    #    if 'utool' not in install_requires:
    #        install_requires.append('utool')
    #    kwargs['install_requires'] = install_requires

    packages = kwargs.get('packages', [])
    if name not in packages:
        packages.append(name)
        kwargs['packages'] = packages

    if 'version' not in kwargs:
        version = parse_package_for_version(name)
        kwargs['version'] = version

    # Parse version
    #if 'version' not in kwargs:
    #    if module is None:
    #        version_errmsg = 'You must include a version (preferably one that matches the __version__ variable in your modules init file'
    #        raise AssertionError(version_errmsg)
    #    else:
    # Parse license
    if 'license' not in kwargs:
        try:
            kwargs['license'] = read_license('LICENSE')
        except IOError:
            pass
    # Parse readme
    if 'long_description' not in kwargs:
        kwargs['long_description'] = parse_readme()