code: def __infer_setup_kwargs(module, kwargs):
      name = kwargs['name']
      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
      if 'license' not in kwargs:
          try:
              kwargs['license'] = read_license('LICENSE')
          except IOError:
              pass
      if 'long_description' not in kwargs:
          kwargs['long_description'] = parse_readme()