On 6/03/2011 10:16 PM, James Srinivasan wrote:
I've got a Gumstix Overo running on a custom board with only a serial console interface (no wired/wireless network). I've built a custom root filesystem image including the python and python-pyserial packages, but I would like to add the python-threading package. This doesn't seem to be available from git://gitorious.org/gumstix-oe/mainline.git, but is available through the unstable package feed. I can boot the Gumstix on a Tobi expansion board and install the package to the onboard flash, but ideally would like it built as part of my SD card root filesystem image. I guess one option is to find a suitable python-threading Bitbake recipe - how might I do this, and are there any other options?
 
Thanks,
 
James


I installed python and python-modules and that appeared to have installed  threading.
python and python-modules in the recipe.

I haven't installed python-threading just python-modules



al@omapPT1:~# python
Python 2.6.5 (r265:79063, Sep 29 2010, 13:12:29)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import threading
>>> dir(threading)
['BoundedSemaphore', 'Condition', 'Event', 'Lock', 'RLock', 'Semaphore', 'Thread
', 'ThreadError', 'Timer', '_BoundedSemaphore', '_Condition', '_DummyThread', '_
Event', '_MainThread', '_RLock', '_Semaphore', '_Timer', '_VERBOSE', '_Verbose',
 '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_
active', '_active_limbo_lock', '_after_fork', '_allocate_lock', '_counter', '_en
umerate', '_format_exc', '_get_ident', '_limbo', '_newname', '_pickSomeNonDaemon
Thread', '_profile_hook', '_shutdown', '_sleep', '_start_new_thread', '_sys', '_
test', '_time', '_trace_hook', 'activeCount', 'active_count', 'currentThread', '
current_thread', 'deque', 'enumerate', 'local', 'setprofile', 'settrace', 'stack
_size', 'warnings', 'wraps']
>>>

Alex


UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology, Sydney. Before opening any attachments, please check them for viruses and defects.