The design policy of pip-licenses is as follows.
- Focus only on outputting license information of Python packages installed in user's environment.
- Support Python 3.9 or later.
- External packages that depend on runtime are prettytable and tomli only.
- Expect to be able to use importlib_metadata APIs.
- Fork this repository on your GitHub account.
- Create a branch to represent changes.
- Branch name does NOT need
feature/prefix. Because git-flow is configured differently for maintainers.
- Branch name does NOT need
- Create a new venv environment and Install package for development via
make setup.- Dependencies are managed by pip-tools.
- If you want to add dependency packages for development, edit the dev entry in pyproject.toml file and run
make update-depends. - If you want to install the code under development, run
make local-install.
pip-licensesalways measures code coverage for code quality. If you implement a new feature, please also write unit test in test_piplicenses.py.- Tests can be run with
make test.
- Tests can be run with
- Code conventions follow the PEP 8.
- You can format the code by running
make lint.
- You can format the code by running
- Send pull request to master branch. Maintainer(s) may adjust PRs to the appropriate development branch as realevant.
If you find a significant vulnerability, or evidence of one, please report it privately.
- We prefer that you use the GitHub mechanism for privately reporting a vulnerability. Under the main repository's security tab, click "Report a vulnerability" to open the advisory form.