Open dflock opened 1 year ago
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
I used
poetry export --without-hashes --format=requirements.txt > requirements.txt
and then
pip install -r requirements.txt
followed by
license_finder --python-version=3
to get my list. Maybe this helps someone..
Python projects which use Poetry instead of pip for package management etc... are currently not supported by LicenseFinder.
Poetry projects have two files which specify dependencies:
pyproject.toml
- which describes the projects metadata (name, desc, etc...) and a top level list of dependencies. This list is roughly equivalent to pip'srequirements.txt
file - it just lists the direct dependencies. Here's an example from a personal project.poetry.lock
- this is roughly equivalent to ayarn.lock
or annpm.lock
file in a JS project - it's a complete dependency graph with the whole dependency tree for the project. Here's an example from a personal projectLicenseFinder support for Poetry projects would be very good to have - Poetry is becoming more and more popular for Python projects.