python3: Add script to help find standard library dependencies 12130/head
authorJeffery To <jeffery.to@gmail.com>
Sun, 10 May 2020 11:14:25 +0000 (19:14 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 14 May 2020 15:38:24 +0000 (23:38 +0800)
commitd4d78c2511177758a8910dab76ebbc576bbf3df8
tree693d296075b997f9ea662de5611d7d1244a27725
parent83d36065d5e678f3309375f5d07188f960a6850f
python3: Add script to help find standard library dependencies

This adds a script that searches a Python package's source code to find
imports for separately-packaged standard library modules.

The script can be run by calling make with the configure target and
"PY3=stdlib V=s" arguments, e.g.

    make package/python3-lxml/configure PY3=stdlib V=s

This also updates the readme on how to call this script, as well as more
information on Python package dependencies in general.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/README.md
lang/python/python3-find-stdlib-depends.sh [new file with mode: 0644]
lang/python/python3-package.mk