# SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.

- **ID:** `python/pip-setuptools-deprecation-setup-py-install`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

setuptools 58+ deprecated the direct `setup.py install` path in favor of PEP 517 build backends; running it still works but emits a deprecation warning and bypasses wheel caching.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.8 | active | — | — |
| 3.9 | active | — | — |
| 3.10 | active | — | — |
| 3.11 | active | — | — |
| 3.12 | active | — | — |

## Workarounds

1. **** (96% success)
   ```
   Replace `python setup.py install` with `python -m pip install .` or build a wheel first: `python -m pip install build && python -m build`.
   ```
2. **** (94% success)
   ```
   For editable dev installs use `python -m pip install -e .` instead of `python setup.py develop`.
   ```

## Dead Ends

- **** — Only hides the warning; the deprecated code path still runs and will be removed in a future setuptools release. (70% fail)
- **** — Pins an old setuptools that lacks modern PEP 517/518 support and breaks other packages expecting current metadata APIs. (75% fail)
