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

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

## Root Cause

Running python setup.py install directly is deprecated in favor of PEP 517 build frontends like pip and build.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   pip install .  # builds and installs using PEP 517
   ```
2. **** (92% success)
   ```
   pip install build; python -m build
   ```

## Dead Ends

- **** — Hides the deprecation but does not fix the underlying issue; future removal will break the workflow. (70% fail)
- **** — Avoids the warning temporarily but locks you out of security fixes and new features. (60% fail)
