diff --git a/README.md b/README.md index ab4a17df..a935c1ae 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 - ``` @@ -520,6 +520,8 @@ Steps: 3. Sort the results and remove duplicates; and 4. Invoke the tool. +> **Note:** This is a quick workaround and not intended to be a robust or reliable solution. + Alternatively, use `pipdeptree` to find all of the dependencies in your _virtual environment_, convert them into ClearlyDefined IDs, and pipe the results to the Eclipse Dash License Tool: ```