Skip to content

Commit 0009d83

Browse files
committed
Document using pdm for pyproject.toml
1 parent a3b489a commit 0009d83

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ check by name (or glob pattern) using `--ignore-module` (shorthand is `-m`)::
8585
pip-missing-reqs --ignore-module=spam --ignore-module=spam.* sample
8686

8787

88+
Using `pyproject.toml` instead of `requirements.txt`
89+
----------------------------------------------------
90+
91+
If your project uses `pyproject.toml` instead of `requirements.txt`, you can
92+
use an external tool like `pdm` to convert it to `requirements.txt`::
93+
94+
# requires `pip install pdm`
95+
pdm export --pyproject > requirements.txt
96+
97+
Then you can use `pip-missing-reqs` and `pip-extra-reqs` as usual.
98+
8899
With Thanks To
89100
--------------
90101

0 commit comments

Comments
 (0)