ah yes, good question. i just tried both methods and get the same problem.
method 1:
ipkg install python-core
ipkg install pygtk (which installed prerequisites: python-codecs, python-dbus, python-fcntl, python-stringold, python-xml)
method 2:
ipkg install python
ipkg install pygtk (which installed prerequisites: python-codecs, python-core, python-dbus, python-fcntl, python-stringold, python-xml)
result with both methods:
# lightnpower.py
Traceback (most recent call last):
File "/usr/bin/lightnpower.py", line 344, in ?
powersettings = powersettings()
File "/usr/bin/lightnpower.py", line 68, in __init__
import gtk
File "/home/sash/pdaXrom-builder/build/pygtk-2.4.1/ipkg_tmp/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 33, in ?
ImportError: /usr/lib/python2.3/site-packages/gtk-2.0/gobject.so: undefined symbol: g_assert_warning