-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I would greatly appreciate advice on how best to support Python dependencies. I've done a bit of Python programming, but I'm not up-to-date on package or project management.
Supporting a package type in License Zero boils down to two operations:
-
Given a project directory for a project using dependencies, find all Python dependencies in it, and read metadata about them. For npm packages, the CLI recurses
node_modulesand readslicensezeroproperties ofpackage.jsonfiles. -
Given a project directory for a License Zero project, write metadata in such a way that it will end up in depending projects' directories. For npm packages, the CLI writes
ametadata tolicensezeroproperty topackage.jsonlicensezero.jsonfiles.
A few specific questions:
-
Should the CLI write information to
setup.pyor its own metadata file, likelicensezero.json? -
Any gotchas with a
licensezero.jsonfile?MANIFEST.in? -
Do Python developers have a CLI tool installed that will list all project dependencies and their paths?