{
  "id": "python/setuptools-setup-py-deprecated",
  "signature": "SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.",
  "signature_zh": "SetuptoolsDeprecationWarning: setup.py install 已弃用。请使用 build 和 pip 以及其他基于标准的工具。",
  "regex": "SetuptoolsDeprecationWarning:\\ setup\\.py\\ install\\ is\\ deprecated\\.\\ Use\\ build\\ and\\ pip\\ and\\ other\\ standards\\-based\\ tools\\.",
  "domain": "python",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "Running python setup.py install directly is deprecated in favor of PEP 517 build frontends like pip and build.",
  "root_cause_type": "generic",
  "root_cause_zh": "直接运行 python setup.py install 已弃用，推荐使用 PEP 517 构建前端如 pip 和 build。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Hides the deprecation but does not fix the underlying issue; future removal will break the workflow.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Avoids the warning temporarily but locks you out of security fixes and new features.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "pip install .  # builds and installs using PEP 517",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.92,
      "how": "pip install build; python -m build",
      "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.89,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-30",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}