python,python3: Add pypi makefile 10242/head
authorJeffery To <jeffery.to@gmail.com>
Mon, 14 Oct 2019 21:27:20 +0000 (05:27 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 18 Oct 2019 16:16:26 +0000 (00:16 +0800)
commitadd4c4219109e359f2ade2245fddfe4addc7575f
tree2257a09ba3363dd93bb6c54787e21f4a9fd8f8d6
parentc4cae9704e8e2fdd999097ef3d8e5b4ea3d4e45d
python,python3: Add pypi makefile

This adds pypi.mk, which can be included in Python packages that
download their sources from PyPI, to auto-fill various PKG_* variables
based on the value of PYPI_NAME.

This makefile should be included after $(TOPDIR)/rules.mk but before
$(INCLUDE_DIR)/package.mk (and $(INCLUDE_DIR)/host-build.mk).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/pypi.mk [new file with mode: 0644]