summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEdgar Ramírez <edgarrm358@gmail.com>2022-04-13 01:25:43 +0200
committerGitHub <noreply@github.com>2022-04-13 00:25:43 +0100
commite4376ed128592e1d22cdc9e842d3e1fd8334a207 (patch)
tree374fc1916f26593901731301c4404d6f230ce40a /docs
parentc394bf6c0d70f4bd1da0dcecb23d309cf525154e (diff)
downloadpip-e4376ed128592e1d22cdc9e842d3e1fd8334a207.tar.gz
docs: Add section on PEP 508 support for build system requirements (#10735)
Diffstat (limited to 'docs')
-rw-r--r--docs/html/reference/build-system/pyproject-toml.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/html/reference/build-system/pyproject-toml.md b/docs/html/reference/build-system/pyproject-toml.md
index ee93df034..7959a2d08 100644
--- a/docs/html/reference/build-system/pyproject-toml.md
+++ b/docs/html/reference/build-system/pyproject-toml.md
@@ -49,6 +49,14 @@ hook will be called by pip, and dependencies it describes will also be installed
in the build environment. For example, newer versions of setuptools expose the
contents of `setup_requires` to pip via this hook.
+Build-time requirement specifiers follow {pep}`508`, so it's possible to
+reference packages with URLs. For example:
+
+```toml
+[build-system]
+requires = ["setuptools @ git+https://github.com/pypa/setuptools.git@main"]
+```
+
### Metadata Generation
```{versionadded} 19.0