Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Embedded Linux Projects Using Yocto Project Cookbook

You're reading from  Embedded Linux Projects Using Yocto Project Cookbook

Product type Book
Published in Mar 2015
Publisher
ISBN-13 9781784395186
Pages 324 pages
Edition 1st Edition
Languages
Author (1):
Alex Gonzalez Alex Gonzalez
Profile icon Alex Gonzalez

Table of Contents (13) Chapters

Embedded Linux Projects Using Yocto Project Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
The Build System The BSP Layer The Software Layer Application Development Debugging, Tracing, and Profiling Index

Adding Python applications


In Yocto 1.7, Poky has support for building both Python 2 and Python 3 applications, and includes a small set of Python development tools in the meta/recipes-devtools/python directory.

A wider variety of Python applications are available in the meta-python layer included as part of meta-openembedded, which you can add to your conf/bblayers.conf file if you want to.

Getting ready

The standard tool for packaging Python modules is distutils, which is included for both Python 2 and Python 3. Poky includes the distutils class (distutils3 in Python 3), which is used to build Python packages that use distutils. An example recipe in meta-python that uses the distutils class is meta-python/recipes-devtools/python/python-pyusb_1.0.0a2.bb.

SUMMARY = "PyUSB provides USB access on the Python language"
HOMEPAGE = "http://pyusb.sourceforge.net/"
SECTION = "devel/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a53a9c39efcfb812e2464af14afab013"
DEPENDS = "libusb1"
PR...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}