{
  "id": "python/setuptools-license-file-missing",
  "signature": "warning: sdist: standard file not found: should have one of README, README.rst, README.txt, README.md",
  "signature_zh": "警告：sdist：未找到标准文件：应具有 README、README.rst、README.txt 或 README.md 之一",
  "regex": "warning:\\ sdist:\\ standard\\ file\\ not\\ found:\\ should\\ have\\ one\\ of\\ README,\\ README\\.rst,\\ README\\.txt,\\ README\\.md",
  "domain": "python",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The package is missing a README file, which setuptools expects for metadata.",
  "root_cause_type": "generic",
  "root_cause_zh": "包缺少 README 文件，setuptools 期望有该文件用于元数据。",
  "versions": [
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.9",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Ignoring the warning",
      "why_fails": "May cause issues in package distribution.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "Adding an empty file named README",
      "why_fails": "Empty content doesn't provide proper documentation.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Create a README.md with basic project info",
      "success_rate": 0.95,
      "how": "echo '# My Project' > README.md",
      "condition": "",
      "sources": []
    },
    {
      "action": "Specify readme in setup.py",
      "success_rate": 0.8,
      "how": "from setuptools import setup; setup(..., long_description=open('README.md').read())",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.84,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}