Skip to content

Python 3, simple, external package support

Maxime Ripard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 5 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 0/5] Python 3, simple, external package support

Hi Patrick,

Le 13/02/2013 10:20, Patrick Gerber a ?crit :

Quoted 8 lines

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 been 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.

I don't get why this python-common directory is needed. If the two python are mutually exclusive, why can't we just declare the PYTHON variable in their respective package makefiles? The Config.in file is useless as well, just make a depends on !PYTHON3 in python, and !PYTHON in python3, like Thomas suggested.

Moreover, I'm pretty concerned about the breakage of many configurations. You seem to assume here that all external modules can build on both python and python3, and I'm really not sure about that.

Maxime

Signature · 4 lines
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com