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

- **ID:** `python/setup-py-deprecated`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Running `python setup.py install` directly triggers setuptools' deprecation path. Modern setuptools expects builds via PEP 517 (pip/build) rather than the legacy setup.py commands.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   Use pip to install the project in editable mode:
pip install -e .
   ```
2. **** (92% success)
   ```
   Build a wheel with the build frontend:
python -m pip install build
python -m build
   ```

## Dead Ends

- **** — Downgrading setuptools hides the warning but breaks other packages that require newer setuptools APIs. (70% fail)
- **** — Suppresses the message but the install still uses the deprecated path and may fail on future setuptools. (60% fail)
