Bug 2681

Summary: Devshell for python
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Khem Raj <raj.khem>
Component: devtools / tool chainAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: corneliux.stoicescu, meta.mr.watcher, meta.watcher, Qi.Chen, richard.purdie
Version: unspecified   
Target Milestone: 1.7   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 3433    

Description Khem Raj 2012-07-03 16:14:09 UTC
We should have python dev shell too.
Comment 1 Richard Purdie 2012-07-05 14:36:04 UTC
The idea here is to have a version of devshell which drops the user into a python interactive shell, a bit like bbshell of old but where the user would be able to interact with the python state, e.g. the data store (d).
Comment 2 Richard Purdie 2013-09-18 21:42:22 UTC
There is a proof of concept that has been shared on the mailing lists and is in my wip contrib branches (rpurdie/wip*). It needs further work but is a start.
Comment 4 Stoicescu Cornel 2014-07-16 10:26:11 UTC
All seems good. One thing to notice is that d.getVar('WORKDIR') returns unexpanded variables:

'${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/${PN}/${EXTENDPE}${PV}-${PR}'

Verified with poky master:1dcdd877c7946be4c0b1203deb14e2f842f9d0c2.