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 too complicated.
- Branch name does NOT need
- Create a new venv environment.
- Install package for development via
make setup
.- Dependencies are managed by pip-tools.
- If you want to add dependency packages for development, edit dev-requirements.in file and run
make update-depends
. - When you want to install the code under development, run
make local-install
.
pip-licenses
always measures code coverage for code quality. If you implement the 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.