From 0c036f3497895582b1ddf35915106c3f67e72207 Mon Sep 17 00:00:00 2001 From: Andre Gomes Date: Thu, 18 Jul 2024 16:44:48 +0100 Subject: [PATCH] Update README.md Fix Python example to handle extras in requirements.txt --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab4a17df..20a137f6 100644 --- a/README.md +++ b/README.md @@ -508,7 +508,7 @@ Very often, you can get away with `grep`ing the `requirements.txt` file check de ``` cat requirements.txt | grep -v \# \ -| sed -E -e 's|([^= ]+)==([^= ]+)|pypi/pypi/-/\1/\2|' -e 's| ||g' \ +| sed -E -e 's|([^= ]+)==([^= ]+)|pypi/pypi/-/\1/\2|' -e 's| ||g' -e 's|\[.*\]||g' \ | sort | uniq \ | java -jar /dash-licenses/org.eclipse.dash.licenses-.jar - ```