From 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 7 Nov 2025 13:31:53 +0000 Subject: The poky repository master branch is no longer being updated. You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie --- .../dev-manual/python-development-shell.rst | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 documentation/dev-manual/python-development-shell.rst (limited to 'documentation/dev-manual/python-development-shell.rst') diff --git a/documentation/dev-manual/python-development-shell.rst b/documentation/dev-manual/python-development-shell.rst deleted file mode 100644 index 81a5c43472..0000000000 --- a/documentation/dev-manual/python-development-shell.rst +++ /dev/null @@ -1,50 +0,0 @@ -.. SPDX-License-Identifier: CC-BY-SA-2.0-UK - -Using a Python Development Shell -******************************** - -Similar to working within a development shell as described in the -previous section, you can also spawn and work within an interactive -Python development shell. When debugging certain commands or even when -just editing packages, ``pydevshell`` can be a useful tool. When you -invoke the ``pydevshell`` task, all tasks up to and including -:ref:`ref-tasks-patch` are run for the -specified target. Then a new terminal is opened. Additionally, key -Python objects and code are available in the same way they are to -BitBake tasks, in particular, the data store 'd'. So, commands such as -the following are useful when exploring the data store and running -functions:: - - pydevshell> d.getVar("STAGING_DIR") - '/media/build1/poky/build/tmp/sysroots' - pydevshell> d.getVar("STAGING_DIR", False) - '${TMPDIR}/sysroots' - pydevshell> d.setVar("FOO", "bar") - pydevshell> d.getVar("FOO") - 'bar' - pydevshell> d.delVar("FOO") - pydevshell> d.getVar("FOO") - pydevshell> bb.build.exec_func("do_unpack", d) - pydevshell> - -See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:functions you can call from within python`" -section in the BitBake User Manual for details about available functions. - -The commands execute just as if the OpenEmbedded build -system were executing them. Consequently, working this way can be -helpful when debugging a build or preparing software to be used with the -OpenEmbedded build system. - -Here is an example that uses ``pydevshell`` on a target named -``matchbox-desktop``:: - - $ bitbake matchbox-desktop -c pydevshell - -This command spawns a terminal and places you in an interactive Python -interpreter within the OpenEmbedded build environment. The -:term:`OE_TERMINAL` variable -controls what type of shell is opened. - -When you are finished using ``pydevshell``, you can exit the shell -either by using Ctrl+d or closing the terminal window. - -- cgit v1.2.3-54-g00ecf