Bug 2681 - Devshell for python
Summary: Devshell for python
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.7
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 3433
  Show dependency tree
 
Reported: 2012-07-03 16:14 UTC by Khem Raj
Modified: 2014-07-16 10:26 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.