pkg-python: no longer use distutilscross for setuptools
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Feb 2014 20:39:54 +0000 (21:39 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 18 Feb 2014 21:45:49 +0000 (22:45 +0100)
commitc7bf337ec56c4753d58de3e4c16f3f74e17d5001
treeda74479fb6da046eaf20ff83dd1755adb9f79276
parent8d3590d4b0141b00e2430db67fafb2546b56ec26
pkg-python: no longer use distutilscross for setuptools

Thanks to the bump of Python 2.x, distutilscross is no longer needed
to achieve cross-compilation for setuptools packages. The host Python
2.x interpreter can be tricked into using the target compiler thanks
to pointing it to a different sysconfigdata module, which is achieved
using PYTHON_PATH.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-python.mk