Skip to content

Commit

Permalink
docs: Add section on PEP 508 support for build system requirements (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Apr 12, 2022
1 parent c394bf6 commit e4376ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/html/reference/build-system/pyproject-toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4376ed

Please sign in to comment.