Xuehai Pan
4dce5b71a0
[build] modernize build-frontend: python setup.py develop/install
-> [uv ]pip install --no-build-isolation [-e ].
(#156027)
Modernize the development installation:
```bash
# python setup.py develop
python -m pip install --no-build-isolation -e .
# python setup.py install
python -m pip install --no-build-isolation .
```
Now, the `python setup.py develop` is a wrapper around `python -m pip install -e .` since `setuptools>=80.0`:
- pypa/setuptools#4955
`python setup.py install` is deprecated and will emit a warning during run. The warning will become an error on October 31, 2025.
- 9c4d383631/setuptools/command/install.py (L58-L67)
> ```python
> SetuptoolsDeprecationWarning.emit(
> "setup.py install is deprecated.",
> """
> Please avoid running ``setup.py`` directly.
> Instead, use pypa/build, pypa/installer or other
> standards-based tools.
> """,
> see_url="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html",
> due_date=(2025, 10, 31),
> )
> ```
- pypa/setuptools#3849
Additional Resource:
- [Why you shouldn't invoke setup.py directly](https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156027
Approved by: https://github.com/ezyang
2025-07-09 11:24:27 +00:00
..
2025-07-09 03:11:37 +00:00
2025-06-12 23:04:11 +00:00
2025-07-02 13:56:03 +00:00
2025-06-22 15:52:27 +00:00
2025-07-08 23:08:06 +00:00
2025-07-08 20:33:53 +00:00
2025-07-08 22:53:13 +00:00
2025-07-02 22:55:29 +00:00
2025-07-09 05:38:15 +00:00
2025-01-18 20:47:12 +00:00
2025-06-25 06:16:06 +00:00
2025-06-25 06:16:06 +00:00
2025-07-09 11:02:22 +00:00
2025-06-30 23:54:40 +00:00
2025-06-30 17:31:51 +00:00
2025-07-04 05:56:42 +00:00
2025-06-25 06:16:06 +00:00
2025-07-03 01:16:01 +00:00
2025-06-25 00:11:35 +00:00
2025-07-03 18:56:07 +00:00
2025-07-08 00:11:52 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-01-22 02:21:14 +00:00
2025-05-14 06:29:16 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-06-17 08:18:47 +00:00
2025-02-06 18:48:09 +00:00
2025-07-08 15:39:56 +00:00
2025-07-08 13:47:24 +00:00
2025-06-30 23:25:30 +00:00
2025-07-02 22:55:29 +00:00
2025-06-19 23:26:42 +00:00
2025-06-04 21:15:20 +00:00
2025-07-08 18:10:33 +00:00
2025-02-01 23:24:52 +00:00
2025-07-02 22:55:29 +00:00
2025-06-17 08:18:47 +00:00
2025-07-02 22:55:29 +00:00
2025-07-09 11:02:22 +00:00
2025-07-02 22:55:29 +00:00
2025-07-09 03:11:37 +00:00
2025-07-09 11:02:22 +00:00
2025-07-08 18:10:33 +00:00
2025-06-23 02:57:34 +00:00
2025-07-03 15:26:42 +00:00
2025-06-23 02:57:34 +00:00
2025-06-23 02:57:34 +00:00
2025-07-09 11:24:27 +00:00
2025-06-23 02:57:34 +00:00
2025-07-08 17:54:35 +00:00
2025-07-09 10:29:31 +00:00
2025-06-23 02:57:34 +00:00
2024-12-17 00:16:09 +00:00
2025-07-09 11:24:27 +00:00
2025-04-27 09:56:42 +00:00
2025-07-08 00:11:52 +00:00
2025-06-10 16:13:38 +00:00
2025-05-21 01:03:26 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-01-22 02:21:14 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-06-14 03:37:38 +00:00
2025-05-21 01:03:26 +00:00
2025-01-22 02:21:14 +00:00
2025-06-05 14:30:49 +00:00
2025-07-09 11:02:22 +00:00
2025-06-14 01:04:12 +00:00
2025-06-30 16:58:06 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-04-27 09:56:42 +00:00
2025-02-25 23:51:12 +00:00
2025-07-08 03:05:35 +00:00
2024-12-31 00:20:10 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-06-30 23:25:30 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-07-09 11:02:22 +00:00
2025-04-23 16:59:29 +00:00
2025-07-09 11:02:22 +00:00
2025-06-14 18:18:43 +00:00
2025-02-04 19:18:23 +00:00
2025-01-28 05:29:12 +00:00