Python required?

Richard Hughes hughsient at gmail.com
Fri Apr 13 08:15:14 PDT 2007


On Fri, 2007-04-13 at 08:05 -0700, Dan Nicholson wrote:
> Currently, HAL's configure will bomb if Python isn't installed. From
> what I can tell, though, Python is only used in the device-manager,
> which is certainly optional. It seems to my eyes that the reason for
> the failure is because the autoconf macro AM_PATH_PYTHON will error if
> it doesn't find Python.
> 
> Is Python anywhere else in HAL? I realize everyone has Python on their
> system, but it'd be nice to avoid an unnecessary dependency. It seems
> that this would probably require that AM_PATH_PYTHON not be used, but
> first I'd like to hear that Python is or isn't needed.

The only bits that need it are:

examples/interface-locking-test.py
examples/locking.py
examples/light_sensors_and_keyboard_backlight.py

And

tools/lshal.py (which isn't installed).

In my opinion we should drop completely python from configure, now
nothing actually needs it.

Richard.




More information about the hal mailing list