[Buildroot] [PATCH v2] Python 3, simple, external package support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 12 14:21:55 UTC 2013

Dear Patrick Gerber,

On Tue, 12 Feb 2013 15:13:56 +0100, Patrick Gerber wrote:
> This patch series refactor python support in buildroot to enable the use of
> from line 'This patch series refactor python support in buildroot to enable
> the use of external package with both python2 and python3. The packages 
> python-bottle and python-serial have adapted as examples.
> To support others external package more work is needed as they are based on
> python setuptools. It's no more supported by python3 and should be replaced
> by "Distribute". This should be done in another patch series.

Thanks, but it still doesn't answer the question:

As Samuel pointed it out, this unfortunately may break a number of
things in Buildroot. They are packages that depend on host-python, and
would only be capable of using an Python 2.x host-python.

Or at least, I would like to have the confirmation that all packages
that depend on host-python continue to build normally when host-python
is Python 3.

That said, some packages are not really clear about this. For example,
Scons uses the Python provided with the distribution, and not the
host-python built by Buildroot.

As you can see, this is not a trivial topic.

Best regards,

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list