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

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

## Root Cause

Running 'python setup.py install' directly, which setuptools has deprecated in favor of PEP 517 build backends and pip.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.7-3.12 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   pip install .  # or pip install -e . for editable installs
   ```
2. **** (92% success)
   ```
   python -m build && pip install dist/*.whl
   ```

## Dead Ends

- **** — Flag only silences script location warnings, not the deprecation warning. (95% fail)
- **** — Downgrading setuptools breaks many modern packages that require recent setuptools features. (70% fail)
