| Summary: | Devshell for python | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Khem Raj <raj.khem> |
| Component: | devtools / tool chain | Assignee: | 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
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). 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. Merged into master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cd7b437d4b6800aab47ea9d9b00bbac1bb270bc5 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.
|