Can pip (or setuptools, distribute etc…) list the license used by each installed package?

前端 未结 11 1244
梦如初夏
梦如初夏 2020-12-13 09:31

I\'m trying to audit a Python project with a large number of dependencies and while I can manually look up each project\'s homepage/license terms, it seems like most OSS pac

11条回答
  •  误落风尘
    2020-12-13 10:10

    Another option is to use Brian Dailey's Python Package License Checker.

    git clone https://github.com/briandailey/python-packages-license-check.git
    cd python-packages-license-check
    ... activate your chosen virtualenv ...
    ./check.py
    

提交回复
热议问题