python,python3: Use only target package data for Build/InstallDev
authorJeffery To <redacted>
Tue, 26 Mar 2019 19:33:16 +0000 (03:33 +0800)
committerJeffery To <redacted>
Tue, 26 Mar 2019 19:44:31 +0000 (03:44 +0800)
commite436e73f1c2704e9aaac4d01c6a8b1ce640068a1
treebf92f2ed43cd3b57c739561a998e7a38d03a1387
parent8d347f919759661b571afbc1adc1e19d771c27fc
python,python3: Use only target package data for Build/InstallDev

This changes Build/InstallDev for both Python 2 and 3 to only copy files
from target Python, not from host Python, since InstallDev files are
used for target packages to link to other target packages.

In particular, usr/lib/python{2.7,3.7}/_sysconfigdata.py holds system
configuration data generated at build time, and is different for target
Python and host Python.

Signed-off-by: Jeffery To <redacted>
lang/python/python/Makefile
lang/python/python3/Makefile
git clone https://git.99rst.org/PROJECT