Compiles get-py-deps.py into the binary then executes at runtime using python3 -c
get-py-deps.py uses importlib.metadata from the python std to get a list of dependencies from either .egg-info or .dist-info paths. Then uses APIs from packaging to sanitize those dependencies.
By default "extra" dependencies are ignored and it is up to the packager's discrection to optionally include them.
Dependencies that depend on environmental markers e.g. Windows, python3 > $version will be correctly evaluated and included if necessary.
Compiles get-py-deps.py into the binary then executes at runtime using
python3 -c
get-py-deps.py uses
importlib.metadata
from the python std to get a list of dependencies from either .egg-info or .dist-info paths. Then uses APIs from packaging to sanitize those dependencies.By default "extra" dependencies are ignored and it is up to the packager's discrection to optionally include them. Dependencies that depend on environmental markers e.g. Windows, python3 > $version will be correctly evaluated and included if necessary.
Depends on https://github.com/serpent-os/recipes/pull/359