Skip to content

Commit 11cd3d9

Browse files
author
Jonathon Belotti
committed
rules_python_external actaully DOES NOT require a transitively-closed requirements.txt
1 parent fe4330c commit 11cd3d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Contains Bazel rules to fetch and install Python dependencies from a requirement
66

77
#### Setup `requirements.txt`
88

9-
`rules_python_external` requires a _transitively-closed_ `requirements.txt` file, which would
10-
be very tedious to produce and maintain manually. To automate the process we recommend [`pip-compile` from `jazzband/pip-tools`](https://github.com/jazzband/pip-tools#example-usage-for-pip-compile).
9+
While `rules_python_external` **does not** require a _transitively-closed_ `requirements.txt` file, it is recommended. But if you want to just have top-level packages listed, that works.
10+
11+
Transitively-closed requirements specs are very tedious to produce and maintain manually. To automate the process we recommend [`pip-compile` from `jazzband/pip-tools`](https://github.com/jazzband/pip-tools#example-usage-for-pip-compile).
1112

1213
For example, `pip-compile` takes a `requirements.in` like this:
1314

0 commit comments

Comments
 (0)