diff --git a/.allowed-licenses b/.allowed-licenses index 1093263..8a567a8 100644 --- a/.allowed-licenses +++ b/.allowed-licenses @@ -36,3 +36,4 @@ Public Domain # Variants of the Python Software Foundation License Python Software Foundation License +Python Software Foundation License, MIT License diff --git a/.circleci/config.yml b/.circleci/config.yml index f8f20eb..4ef79d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,6 +44,7 @@ jobs: - run: # Read allowed licenses from file to ";"-separated string while removing empty lines and comments name: License check command: | + pip-licenses --from=mixed --summary ALLOWED=$(sed -e '/^#.*$/d' -e '/^\s*$/d' .allowed-licenses | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/;/g'); echo $ALLOWED pip-licenses --from=mixed --allow-only="${ALLOWED}" --summary