[Buildroot] python shebang pointing to host python

Eric Seifert eric.seifert at cyaninc.com
Thu Sep 6 16:22:12 UTC 2012


Hello, I am trying to get some python modules installed with buildroot
2012.08. The module themselves seem to get built and installed correctly,
my problem is that some of them install executable scripts, and these
scripts have shebangs at the top that point to the host python instead of
the target /usr/bin/python.

I've noticed this, not just with the modules I built, but also with the
included setuptools module that is included. It installs the easy_install
script, and it does not run by default unless you update the shebang.

Is there a way to tell the module when installing which python to point to?

On a separate and unrelated note, even after I fix the shebang in
easy_install, I get: ImportError: No module named pkg_resources


Thanks,
Eric Seifert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120906/ed70a5df/attachment.html>


More information about the buildroot mailing list