[Buildroot] [PATCH] python-setuptools: Add patch to prevent detecting the host installation

Gustavo Zacarias gustavo at zacarias.com.ar
Thu Aug 22 11:24:38 UTC 2013


On 08/22/2013 08:17 AM, Arnout Vandecappelle wrote:

>  Markos's patch, or a yet-to-be-created patch that adds $(TARGET_DIR) to
> the PYTHONPATH instead of passing the system's pythonpath?

That's possible too, testing required :)

>  Actually I didn't realize the PYTHONPATH setting for the host variant
> was redundant :-)  I was only talking about the target.

PYTHONPATH for the target is required because it's sometimes hardcoded
in installed packages unfortunately - i don't recall the exact
combination that triggered it at the moment, or it may have been some
additional python package that i used for testing and never sent
(useless, not interesting) when fixing the shebang and other details.

>  But I guess that is a separate patch.
> 
>  Anyway I'm not sure if the target variant is that relevant, because it
> will not be able to install anything that requires compilation...

Yes, something for someone to up their buildroot cred :)
I'm unsure if we want to encourage the target setuptools, there are
packages that'll install fine, and as you say the compiler ones will
fail miserably.
I'd keep it to avoid unnecessary noise and complaints with a big fat
warning that it's not the buildroot way and it's just for convenience
(and to forget about the target toolchain!).
Regards.




More information about the buildroot mailing list