Skip to contentSkip to conversation

menuconfig error with python packages

Buildroot Patrick 1 participant 2 messages Jan 25, 2013

lore
Share & tools
lore

Patrick

author
#0 lore raw

Dear all,

I have detected what it seems a strange behaviour with python in the menuconfig. When activating python3 (BR2_PACKAGE_PYTHON3) the submenu "external python modules" is not visible.
When activating dstat (BR2_PACKAGE_DSTAT) from "Debugging, profiling and benchmarking" the "external python modules" submenu become visible.

Is this really the expected behaviour ? I don't think so

Patrick

author
#1 lore raw
Quoted 10 lines · Patrick

Dear all,

I have detected what it seems a strange behaviour with python in the menuconfig. When activating python3 (BR2_PACKAGE_PYTHON3) the submenu "external python modules" is not visible.
When activating dstat (BR2_PACKAGE_DSTAT) from "Debugging, profiling and benchmarking" the "external python modules" submenu become visible.

Is this really the expected behaviour ? I don't think so

I think the patch below fix the problem. The "external python modules" submenu is now available when activating python3. Fow now only the python-bottle package is available I have to check if others python packages work also with python 3.

Any comments ?

Patrick

package/Config.in +1 -1
index 10adf5d..1d477f7 100644
@@ -309,7 +309,7 @@ source "package/microperl/Config.in"
  source "package/php/Config.in"
  source "package/python/Config.in"
  source "package/python3/Config.in"
-if BR2_PACKAGE_PYTHON
+if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
  menu "external python modules"
  source "package/python-bottle/Config.in"
  source "package/python-dpkt/Config.in"