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-06-24 04:53:54 +00:00
2024-12-13 22:13:12 +00:00
2025-06-24 04:53:54 +00:00
2024-12-13 22:13:12 +00:00
2025-06-21 18:33:38 +00:00
2025-07-09 11:24:27 +00:00
2025-06-24 04:53:54 +00:00
2025-07-09 11:24:27 +00:00
2025-03-29 01:39:13 +00:00
2025-03-29 01:39:13 +00:00
2025-07-09 11:01:18 +00:00
2025-05-26 17:48:28 +00:00
2025-07-08 23:19:59 +00:00
2025-07-07 14:51:32 +00:00
2025-05-30 18:17:09 +00:00
2025-07-08 13:47:24 +00:00
2025-07-08 20:33:53 +00:00
2025-06-24 04:53:54 +00:00
2025-07-05 04:19:50 +00:00
2025-06-24 04:53:54 +00:00
2025-07-01 21:02:08 +00:00
2025-07-09 07:03:38 +00:00
2025-04-02 20:56:43 +00:00
2025-01-27 18:12:39 +00:00
2025-07-04 13:41:53 +00:00
2025-03-29 01:39:13 +00:00
2025-06-04 14:38:13 +00:00
2025-07-05 01:36:42 +00:00
2025-07-07 19:46:44 +00:00
2025-07-02 18:05:10 +00:00
2025-06-14 11:27:04 +00:00
2025-06-12 03:48:27 +00:00
2025-07-07 22:13:34 +00:00
2025-07-05 12:28:36 +00:00
2025-02-22 03:44:53 +00:00
2025-06-13 22:07:03 +00:00
2025-07-05 17:48:27 +00:00
2025-05-30 09:53:51 +00:00
2025-05-23 19:04:36 +00:00
2025-06-26 18:44:16 +00:00
2025-06-17 17:51:40 +00:00
2024-09-06 08:18:38 +00:00
2024-11-04 18:30:29 +00:00
2025-07-09 11:24:27 +00:00
2025-05-12 18:30:52 +00:00
2025-07-07 12:09:06 +00:00
2025-04-26 13:51:56 +00:00
2025-06-10 18:33:09 +00:00
2025-04-26 18:10:58 +00:00
2025-02-07 06:06:18 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-06-04 14:38:13 +00:00
2025-01-04 10:47:51 +00:00
2024-11-22 20:54:55 +00:00
2025-02-26 23:57:59 +00:00
2025-01-30 22:42:49 +00:00
2025-07-09 11:24:27 +00:00
2025-07-09 11:02:23 +00:00
2025-04-10 21:02:14 +00:00
2025-06-26 03:59:50 +00:00
2025-04-25 20:15:04 +00:00
2025-01-04 14:17:20 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-01-04 10:47:51 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-06-14 03:37:38 +00:00
2025-06-30 16:58:06 +00:00
2025-07-09 11:02:23 +00:00
2025-06-12 12:42:34 +00:00
2025-01-23 00:31:39 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-05-25 17:36:14 +00:00
2025-06-27 22:35:34 +00:00
2024-12-18 23:02:30 +00:00
2025-02-08 00:55:20 +00:00
2025-01-04 10:47:51 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-08 13:47:24 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-02-28 00:47:03 +00:00
2025-06-04 14:38:13 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2024-12-18 23:02:30 +00:00
2025-01-22 04:48:28 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-01-04 10:47:51 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-04-03 23:50:13 +00:00
2024-12-18 23:02:30 +00:00
2025-01-25 00:58:03 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-02-28 05:53:19 +00:00
2025-06-12 14:42:32 +00:00
2024-12-18 23:02:30 +00:00
2025-01-04 10:47:51 +00:00
2024-12-06 21:45:18 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-01-04 10:47:51 +00:00
2025-04-27 09:56:42 +00:00
2025-06-07 01:55:00 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-03-18 16:09:39 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-05-07 22:46:05 +00:00
2024-12-27 07:58:44 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-07-02 23:12:29 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-06-08 17:30:31 +00:00
2025-05-12 18:30:52 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-06-14 03:37:38 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-02-25 03:47:40 +00:00
2025-06-10 19:59:12 +00:00
2025-07-09 11:02:23 +00:00
2025-05-31 02:03:40 +00:00
2025-07-09 11:02:23 +00:00
2025-06-04 01:58:52 +00:00
2025-07-09 11:02:23 +00:00
2025-01-04 10:47:51 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-05-30 19:18:43 +00:00
2025-07-09 11:02:23 +00:00
2025-05-15 08:41:46 +00:00
2025-01-26 03:37:20 +00:00
2025-07-09 11:02:23 +00:00
2025-05-13 03:49:19 +00:00
2025-07-09 11:02:23 +00:00
2025-01-04 14:17:20 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-07-09 11:02:23 +00:00
2025-02-05 19:40:10 +00:00
2024-12-12 01:18:34 +00:00
2025-06-25 18:09:04 +00:00
2025-07-09 11:02:23 +00:00
2024-12-18 23:02:30 +00:00
2025-07-09 11:02:23 +00:00
2025-02-04 19:07:04 +00:00
2025-07-03 01:22:11 +00:00